@@ -229,12 +229,12 @@ export class OAuthService extends AuthConfig implements OnDestroy {
229
229
}
230
230
231
231
/**
232
- * Will setup up silent refreshing for when the token is
232
+ * Will set up up silent refreshing for when the token is
233
233
* about to expire. When the user is logged out via this.logOut method, the
234
234
* silent refreshing will pause and not refresh the tokens until the user is
235
235
* logged back in via receiving a new token.
236
236
* @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
238
238
*/
239
239
public setupAutomaticSilentRefresh (
240
240
params : object = { } ,
@@ -521,7 +521,7 @@ export class OAuthService extends AuthConfig implements OnDestroy {
521
521
* properties of this service. The url of the discovery
522
522
* document is infered from the issuer's url according
523
523
* 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.
525
525
*
526
526
* @param fullUrl
527
527
*/
@@ -714,7 +714,7 @@ export class OAuthService extends AuthConfig implements OnDestroy {
714
714
* about the user in question.
715
715
*
716
716
* 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
718
718
* fail.
719
719
*
720
720
* @param userName
@@ -735,7 +735,7 @@ export class OAuthService extends AuthConfig implements OnDestroy {
735
735
* Loads the user profile by accessing the user info endpoint defined by OpenId Connect.
736
736
*
737
737
* 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.
739
739
*/
740
740
public loadUserProfile ( ) : Promise < object > {
741
741
if ( ! this . hasValidAccessToken ( ) ) {
@@ -1248,7 +1248,7 @@ export class OAuthService extends AuthConfig implements OnDestroy {
1248
1248
height ?: number ;
1249
1249
width ?: number ;
1250
1250
} ) : string {
1251
- // Specify an static height and width and calculate centered position
1251
+ // Specify a static height and width and calculate centered position
1252
1252
1253
1253
const height = options . height || 470 ;
1254
1254
const width = options . width || 500 ;
@@ -1708,7 +1708,7 @@ export class OAuthService extends AuthConfig implements OnDestroy {
1708
1708
}
1709
1709
1710
1710
/**
1711
- * Delegates to tryLoginImplicitFlow for the sake of competability
1711
+ * Delegates to tryLoginImplicitFlow for the sake of compatability
1712
1712
* @param options Optional options.
1713
1713
*/
1714
1714
public tryLogin ( options : LoginOptions = null ) : Promise < boolean > {
0 commit comments