useSSO

useSSO hook

Return Object

keyvalue typedescription

roles

string[]

User Role array

token

string

User Access Token

refreshToken

string

User Refresh Token

userDetails

Authenticated User Details

authenticated

boolean

Is User Authenticated

login

function(ILoginProps)

Login Function

logout

function(ILogoutProps)

Logout Function

initialized

boolean

Is SSO Initialized

Last updated