TigerTokenAuthProvider
Home > @gooddata/sdk-backend-tiger > TigerTokenAuthProvider
TigerTokenAuthProvider class
This implementation of authentication provider uses an API Token as bearer of authentication.
Signature:
export declare class TigerTokenAuthProvider extends TigerAuthProviderBase 
Extends: TigerAuthProviderBase
Remarks
You can provide token at construction time and it will be passed on all calls to Tiger APIs
This is a go-to authentication provider for command-line applications. While nothing stops you from using this provider in UI applications, keep in mind that this is discouraged due to security holes it leads to; having the token hardcoded in a UI application means anyone can find it and use it for themselves.
Constructors
| Constructor | Modifiers | Description | 
|---|---|---|
| Constructs a new instance of the  | 
Properties
| Property | Modifiers | Type | Description | 
|---|---|---|---|
| (context: IAuthenticationContext, error: NotAuthenticated) => void | |||
| (apiToken: string) => void | 
Methods
| Method | Modifiers | Description | 
|---|---|---|