Home > @vsf-enterprise/commercetools-api > isLoggedIn
# isLoggedIn() function
Endpoint for checking if user is logged in or not. It doesn't use any GraphQL query
Signature:
export declare function isLoggedIn(context: Context): Promise<boolean>;
# Parameters
Parameter | Type | Description |
---|---|---|
context | Context | Automatically injected context. Refer to Context |
Returns:
Promise<boolean>
Boolean indicating if user is logged in or not