SessionActionHandlerResult

Parameters


refreshToken required null | string

Access token (JWT)


accessToken required null | string

Access token (JWT)


user required null | User

User information


isSuccess required boolean

Returns true if the action is successful.


error required null | AuthErrorPayload

Provides details about the error


isError required boolean

@returns

true if an error occurred

@depreacted

use !isSuccess or !!error instead