Accessors
getToken
- get getToken(): ((uri: string | UrlObject, options?: Options) => Promise<Token>)
-
Returns ((uri: string | UrlObject, options?: Options) => Promise<Token>)
-
- (uri: string | UrlObject, options?: Options): Promise<Token>
-
Parameters
-
uri: string | UrlObject
-
Optional
options: Options
Returns Promise<Token>
getUri
- get getUri(): ((options?: Options) => string)
-
Returns ((options?: Options) => string)
-
- (options?: Options): string
-
Parameters
-
Optional
options: Options
Returns string
Methods
createToken
- createToken(accessToken: string, refreshToken: string): Token
-
Parameters
-
accessToken: string
-
refreshToken: string
Returns Token