@@ -41,7 +41,7 @@ import {
4141 iamCredentialsDeleteNotificationType ,
4242 bearerCredentialsDeleteNotificationType ,
4343 bearerCredentialsUpdateRequestType ,
44- CredentialChangedKind ,
44+ SsoTokenChangedKind ,
4545 RequestType ,
4646 ResponseMessage ,
4747 NotificationType ,
@@ -473,10 +473,10 @@ export class SsoLogin extends BaseLogin {
473473
474474 private ssoTokenChangedHandler ( params : SsoTokenChangedParams ) {
475475 if ( params . ssoTokenId === this . ssoTokenId ) {
476- if ( params . kind === CredentialChangedKind . Expired ) {
476+ if ( params . kind === SsoTokenChangedKind . Expired ) {
477477 this . updateConnectionState ( 'expired' )
478478 return
479- } else if ( params . kind === CredentialChangedKind . Refreshed ) {
479+ } else if ( params . kind === SsoTokenChangedKind . Refreshed ) {
480480 this . eventEmitter . fire ( { id : this . profileName , state : 'refreshed' } )
481481 }
482482 }
@@ -603,10 +603,10 @@ export class IamLogin extends BaseLogin {
603603
604604 // private stsCredentialChangedHandler(params: StsCredentialChangedParams) {
605605 // if (params.stsCredentialId === this.iamCredentialId) {
606- // if (params.kind === CredentialChangedKind .Expired) {
606+ // if (params.kind === StsCredentialChangedKind .Expired) {
607607 // this.updateConnectionState('expired')
608608 // return
609- // } else if (params.kind === CredentialChangedKind .Refreshed) {
609+ // } else if (params.kind === StsCredentialChangedKind .Refreshed) {
610610 // this.eventEmitter.fire({ id: this.profileName, state: 'refreshed' })
611611 // }
612612 // }
0 commit comments