Function: loginService()
loginService(
client):object
Defined in: service/LoginService.ts:15
Service for handling user authentication and login operations
Parameters
client
Returns
authenticate()
authenticate(
input):Promise<Login>
Creates authentication claims for a user *
Parameters
input
Authentication input data *
Returns
Promise<Login>
Promise<Login> Authentication response
exchangeRefreshToken()
exchangeRefreshToken(
variables):Promise<RefreshTokenResponse>
Exchanges a refresh token for a new access token *
Parameters
variables
The refresh token to exchange *
Returns
Promise<RefreshTokenResponse>
Promise<RefreshTokenResponse> New token response with fresh access token
login()
login(
input):Promise<Login>
Authenticates a user with credentials *
Parameters
input
Login credentials input *
Returns
Promise<Login>
Promise<Login> Login response with user data