@gooddata/sdk-backend-tiger
This package provides the Analytical Backend implementation for GoodData Cloud and GoodData.CN.
Remarks
You can use this package to communicate with GoodData Cloud and GoodData.CN in a convenient way without concerning yourself with low-level details. The functionality includes but is not limited to: getting and creating metadata objects, running executions, getting settings, getting available workspaces, and more.
Classes
Class | Description |
|---|---|
This implementation of authentication provider defers the responsibility for performing authentication to the context in which it exists. | |
(ALPHA) The implementation of authentication provider uses an JWT (JSON Web Token) as bearer of authentication. | |
This implementation of authentication provider uses an API Token as bearer of authentication. |
Abstract Classes
Abstract Class | Description |
|---|---|
Base for other IAuthenticationProvider implementations. |
Functions
Function | Description |
|---|---|
Factory to create a redirectToTigerAuthentication function with a specific params, eg. externalProviderId. | |
createTigerAuthenticationUrl(backend, authenticationFlow, location, additionalParams) | Given tiger backend, authentication flow details and current location, this function creates URL where the browser should redirect to start authentication flow with correct return address. |
(ALPHA) Looks up the progress of the tiger execution that produced the given result. Works for results wrapped by backend decorators. | |
(ALPHA) | |
(ALPHA) | |
Given authentication context and the authentication error, this implementation of | |
Returns function which creates instances of Analytical Backend implementation which works with the ’tiger’ backend. | |
Converts execution definition to AFM Execution |
Interfaces
Interface | Description |
|---|---|
(ALPHA) How a cached result was originally computed, stored together with the cached data. | |
(ALPHA) How one raw computation of a cached result queried its data source originally. | |
(ALPHA) Child computation requested by a parent computation (CHILDREN_REQUESTED). | |
(ALPHA) One step of a running execution (one computation, identified by its resultId). | |
Additional params for redirect API call, eg. the external provider ID to be used for authentication | |
(ALPHA) Handle to the progress of the server execution that produced an execution result. |
Variables
Variable | Description |
|---|---|
(ALPHA) | |
(ALPHA) |
Type Aliases
Type Alias | Description |
|---|---|
(ALPHA) Type of one execution progress event, as emitted by the execution progress endpoint. | |
(ALPHA) Handler that will be called by a JWT authentication provider before the JWT is about to expire. The handler will receive a method that can be used to set a new JWT value. The method throws an exception when the provided JWT is not for the same subject as the previously set JWT (if such token was already set). | |
Type of handler that will redirect the browser to the location where Tiger authentication flow will start. | |
(ALPHA) Callback that is used to set the new JWT value before original token expires. Optionally, the callback accepts the number of seconds before the token expiration in which JwtIsAboutToExpireHandler will be called the next time. Expiration reminder will not be called when value is not provided or it is not greater than zero. | |
Tiger AFM types | |
(ALPHA) | |
Tiger metadata types | |
Tiger entity types |