getCurrentPrincipal()
Home > @gooddata/sdk-backend-tiger > TigerAuthProviderBase > getCurrentPrincipal
TigerAuthProviderBase.getCurrentPrincipal() method
Signature:
getCurrentPrincipal(context: IAuthenticationContext): Promise<IAuthenticatedPrincipal | null>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| context | IAuthenticationContext |
Returns:
Promise<IAuthenticatedPrincipal | null>