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