@oneplatform/plugin-sdk / AuthResult
Interface: AuthResult¶
Defined in: packages/plugin-sdk/src/types/auth-provider.ts:52
Properties¶
accessToken¶
accessToken:
string
Defined in: packages/plugin-sdk/src/types/auth-provider.ts:53
claims¶
claims:
Record\<string,unknown>
Defined in: packages/plugin-sdk/src/types/auth-provider.ts:60
Raw claims from the identity provider. Used by mapClaimsToRoles().
expiresAt?¶
optionalexpiresAt?:string
Defined in: packages/plugin-sdk/src/types/auth-provider.ts:57
ISO 8601 expiry time for the access token.
platformRoles¶
platformRoles:
string[]
Defined in: packages/plugin-sdk/src/types/auth-provider.ts:63
Platform RBAC role names assigned to this user, as returned by mapClaimsToRoles().
providerUserId¶
providerUserId:
string
Defined in: packages/plugin-sdk/src/types/auth-provider.ts:66
The user's stable ID in the external identity provider.
refreshToken?¶
optionalrefreshToken?:string
Defined in: packages/plugin-sdk/src/types/auth-provider.ts:54