> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# TigerAuthProviderBase

- Package: [@gooddata/sdk-backend-tiger](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-tiger/index.md)
- Kind: class
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-backend-tiger/src/auth.ts

Base for other IAuthenticationProvider implementations.

**Signature:**

```typescript
export declare abstract class TigerAuthProviderBase implements IAuthenticationProvider 
```
**Implements:** [IAuthenticationProvider](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-spi/sdk-backend-spi.iauthenticationprovider/index.md)

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [disablePrincipalCache](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-tiger/sdk-backend-tiger.tigerauthproviderbase/index.md#tigerauthproviderbasedisableprincipalcache) |  | boolean |  |
| [principal](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-tiger/sdk-backend-tiger.tigerauthproviderbase/index.md#tigerauthproviderbaseprincipal) | `protected` | [IAuthenticatedPrincipal](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-spi/sdk-backend-spi.iauthenticatedprincipal/index.md) \| undefined |  |

## Methods

| Method | Modifiers | Description |
| --- | --- | --- |
| [authenticate(context)](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-tiger/sdk-backend-tiger.tigerauthproviderbase/index.md#tigerauthproviderbaseauthenticate) | `abstract` |  |
| [deauthenticate(context, returnTo)](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-tiger/sdk-backend-tiger.tigerauthproviderbase/index.md#tigerauthproviderbasedeauthenticate) |  |  |
| [getCurrentPrincipal(context)](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-tiger/sdk-backend-tiger.tigerauthproviderbase/index.md#tigerauthproviderbasegetcurrentprincipal) |  |  |
| [obtainCurrentPrincipal(context)](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-tiger/sdk-backend-tiger.tigerauthproviderbase/index.md#tigerauthproviderbaseobtaincurrentprincipal) | `protected` |  |

## Property details

### TigerAuthProviderBase.disablePrincipalCache

**Signature:**

```typescript
disablePrincipalCache: boolean;
```

### TigerAuthProviderBase.principal

**Signature:**

```typescript
protected principal: IAuthenticatedPrincipal | undefined;
```

## Method details

### TigerAuthProviderBase.authenticate()

**Signature:**

```typescript
abstract authenticate(context: IAuthenticationContext): Promise<IAuthenticatedPrincipal>;
```

#### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| context | [IAuthenticationContext](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-spi/sdk-backend-spi.iauthenticationcontext/index.md) |  |

**Returns:**

Promise&lt;[IAuthenticatedPrincipal](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-spi/sdk-backend-spi.iauthenticatedprincipal/index.md)&gt;

### TigerAuthProviderBase.deauthenticate()

**Signature:**

```typescript
deauthenticate(context: IAuthenticationContext, returnTo?: string): Promise<void>;
```

#### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| context | [IAuthenticationContext](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-spi/sdk-backend-spi.iauthenticationcontext/index.md) |  |
| returnTo | string | _(Optional)_ |

**Returns:**

Promise&lt;void&gt;

### TigerAuthProviderBase.getCurrentPrincipal()

**Signature:**

```typescript
getCurrentPrincipal(context: IAuthenticationContext): Promise<IAuthenticatedPrincipal | null>;
```

#### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| context | [IAuthenticationContext](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-spi/sdk-backend-spi.iauthenticationcontext/index.md) |  |

**Returns:**

Promise&lt;[IAuthenticatedPrincipal](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-spi/sdk-backend-spi.iauthenticatedprincipal/index.md) &#124; null&gt;

### TigerAuthProviderBase.obtainCurrentPrincipal()

**Signature:**

```typescript
protected obtainCurrentPrincipal(context: IAuthenticationContext): Promise<void>;
```

#### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| context | [IAuthenticationContext](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-spi/sdk-backend-spi.iauthenticationcontext/index.md) |  |

**Returns:**

Promise&lt;void&gt;
