Authenticate Your UsersSession Management
Fetch Auth Details
Retrieve authentication details of the currently logged-in user using the Okto SDK.
Methods Overview
Methods | Description |
---|---|
sync getAuthDetails | Fetch authentication details of the current user |
Fetch authentication details of the current user
sync getAuthDetails()
fetches the authentication details of the currently logged-in user.
Parameters
There are no parameters for this function.
Response
Success Response
Field Name | Type | Description |
---|---|---|
authToken | string | Authentication token for API access |
refreshToken | string | Token used to refresh authentication sessions |
deviceToken | string | Token to identify the authenticated device |