Constructors Protected constructornew Auth Client( _identity: Identity | PartialIdentity , _key: SignIdentity | PartialIdentity , _chain: null | DelegationChain , _storage: AuthClientStorage , idleManager: undefined | IdleManager , _createOptions: undefined | AuthClientCreateOptions , _idpWindow?: Window , _eventHandler?: ( ( event: MessageEvent < any > ) => void ) ) : AuthClient Parameters _identity: Identity | PartialIdentity _key: SignIdentity | PartialIdentity _chain: null | DelegationChain idleManager: undefined | IdleManager Optional _idpWindow: Window Optional _eventHandler: ( ( event: MessageEvent < any > ) => void ) ( event: MessageEvent < any > ) : void Methods Private _get Event Handler_get Event Handler( identityProviderUrl: URL , options?: AuthClientLoginOptions ) : ( ( event: MessageEvent < any > ) => Promise < void > ) Parameters Returns ( ( event: MessageEvent < any > ) => Promise < void > ) ( event: MessageEvent < any > ) : Promise < void > Parameters Returns Promise < void > Private _handle Failure_handle Failure( errorMessage?: string , onError?: ( ( error?: string ) => void ) ) : void Parameters Optional errorMessage: string Optional onError: ( ( error?: string ) => void ) Returns void Private _handle SuccessParameters Returns Promise < void > Private _register Default Idle Callback_register Default Idle Callback( ) : void Private _remove Event Listener_remove Event Listener( ) : void is Authenticated is Authenticated( ) : Promise < boolean > login Parameters Returns Promise < void > logout logout( options?: { returnTo?: string } ) : Promise < void > Parameters options: { returnTo?: string } = {} Optional return To?: string Returns Promise < void > Static createParameters options: { identity?: SignIdentity | PartialIdentity ; idleOptions?: IdleOptions ; keyType?: BaseKeyType ; storage?: AuthClientStorage } = {} Optional identity?: SignIdentity | PartialIdentity Optional idle Options?: IdleOptions Optional key Type?: BaseKeyType Legend Constructor Property Method Private property Private method Settings Theme OS Light Dark
Tool to manage authentication and identity
AuthClient