useSSO
useSSO hook
Return Object
key | value type | description |
---|---|---|
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