@@ -229,12 +229,12 @@ export class OAuthService extends AuthConfig implements OnDestroy {
229229 }
230230
231231 /**
232- * Will setup up silent refreshing for when the token is
232+ * Will set up up silent refreshing for when the token is
233233 * about to expire. When the user is logged out via this.logOut method, the
234234 * silent refreshing will pause and not refresh the tokens until the user is
235235 * logged back in via receiving a new token.
236236 * @param params Additional parameter to pass
237- * @param listenTo Setup automatic refresh of a specific token type
237+ * @param listenTo Set up automatic refresh of a specific token type
238238 */
239239 public setupAutomaticSilentRefresh (
240240 params : object = { } ,
@@ -521,7 +521,7 @@ export class OAuthService extends AuthConfig implements OnDestroy {
521521 * properties of this service. The url of the discovery
522522 * document is infered from the issuer's url according
523523 * to the OpenId Connect spec. To use another url you
524- * can pass it to to optional parameter fullUrl.
524+ * can pass it to optional parameter fullUrl.
525525 *
526526 * @param fullUrl
527527 */
@@ -714,7 +714,7 @@ export class OAuthService extends AuthConfig implements OnDestroy {
714714 * about the user in question.
715715 *
716716 * When using this, make sure that the property oidc is set to false.
717- * Otherwise stricter validations take place that make this operation
717+ * Otherwise, stricter validations take place that make this operation
718718 * fail.
719719 *
720720 * @param userName
@@ -735,7 +735,7 @@ export class OAuthService extends AuthConfig implements OnDestroy {
735735 * Loads the user profile by accessing the user info endpoint defined by OpenId Connect.
736736 *
737737 * When using this with OAuth2 password flow, make sure that the property oidc is set to false.
738- * Otherwise stricter validations take place that make this operation fail.
738+ * Otherwise, stricter validations take place that make this operation fail.
739739 */
740740 public loadUserProfile ( ) : Promise < object > {
741741 if ( ! this . hasValidAccessToken ( ) ) {
@@ -1248,7 +1248,7 @@ export class OAuthService extends AuthConfig implements OnDestroy {
12481248 height ?: number ;
12491249 width ?: number ;
12501250 } ) : string {
1251- // Specify an static height and width and calculate centered position
1251+ // Specify a static height and width and calculate centered position
12521252
12531253 const height = options . height || 470 ;
12541254 const width = options . width || 500 ;
@@ -1708,7 +1708,7 @@ export class OAuthService extends AuthConfig implements OnDestroy {
17081708 }
17091709
17101710 /**
1711- * Delegates to tryLoginImplicitFlow for the sake of competability
1711+ * Delegates to tryLoginImplicitFlow for the sake of compatability
17121712 * @param options Optional options.
17131713 */
17141714 public tryLogin ( options : LoginOptions = null ) : Promise < boolean > {
0 commit comments