Methods
acquireToken
- acquireToken(options?: TokenRequestOptions): RequestHandler<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
-
Returns RequestHandler<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
getAccount
- getAccount(): undefined | AccountInfo
-
Returns undefined | AccountInfo
getCachedTokenForResource
- getCachedTokenForResource(resourceName: string): null | string
-
Returns null | string
isAuthenticated
- isAuthenticated(): boolean
-
Returns boolean
login
- login(options?: LoginOptions): RequestHandler<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
-
Returns RequestHandler<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
logout
- logout(options?: LogoutOptions): RequestHandler<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
-
Returns RequestHandler<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
Acquires an access token for given request parameters
Returns