Constructor Summary
Public Constructor | ||
public |
constructor(clientId: string, secret: string, username: string, password: string, scopes: Array<string>) |
Member Summary
Public Members | ||
public get |
Get the password |
|
public set |
Set the password |
|
public get |
OAuth path |
|
public set |
OAuth path |
|
public get |
it's a secret :o (client secret) |
|
public set |
Set client secret |
|
public |
token: * |
|
public get |
Get the username for authentication |
|
public set |
Get the username for authentication |
Method Summary
Public Methods | ||
public |
Authenticate |
Inherited Summary
From class OAuth | ||
public get |
authenticated: Boolean: * If the current instance has a valid token |
|
public |
clientId: * |
|
public |
host: * |
|
public |
path: * |
|
public |
scopes: * |
|
public |
token: * |
|
public abstract |
Authenticate |
|
public |
forget() Forget the current session Empty the session token store and forget the api token |
|
public |
Manually import OAuthToken, usefull for debugging |
|
public |
Invalidates the session token |
Public Constructors
Public Methods
public authenticate(): CancelablePromise<OAuthToken> source
Authenticate