Authenticate Your UsersSession Management

Fetch Auth Details

Retrieve authentication details of the currently logged-in user using the Okto SDK.

Methods Overview

MethodsDescription
sync getAuthDetailsFetch 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 NameTypeDescription
authTokenstringAuthentication token for API access
refreshTokenstringToken used to refresh authentication sessions
deviceTokenstringToken to identify the authenticated device

On this page