AuthenticationResult type
機関のトークン エンドポイントから返される結果。
- uniqueId - ID トークンからの要求
oidまたはsub - tenantId - ID トークンからの要求
tid - scopes - それぞれのトークンに対して検証されるスコープ
- account - 現在サインインしているユーザーのアカウント オブジェクト表現
- idToken - 応答の一部として受信した ID トークン
- idTokenClaims - MSAL 関連 ID トークン要求
- accessToken - 応答の一部として受信したアクセス トークンまたは SSH 証明書
- fromCache - トークンがキャッシュから来たかどうかを示すブール値
- expiresOn - アクセス トークンの相対的な有効期限を表す Javascript Date オブジェクト
- extExpiresOn - サーバーが停止した場合のアクセス トークンの延長相対有効期限を表す Javascript Date オブジェクト
- refreshOn - アクセス トークンを更新する必要があるまでの相対時間を表す Javascript Date オブジェクト
- state - 要求でユーザーによって渡される値
- familyId - 家族 ID 識別子(通常は更新トークンにのみ使用されます)
- requestId - 応答の一部として返される要求 ID
type AuthenticationResult = {
accessToken: string
account: AccountInfo | null
authority: string
cloudGraphHostName?: string
code?: string
correlationId: string
expiresOn: Date | null
extExpiresOn?: Date
familyId?: string
fromCache: boolean
fromNativeBroker?: boolean
idToken: string
idTokenClaims: object
msGraphHost?: string
refreshOn?: Date
requestId?: string
scopes: string[]
state?: string
tenantId: string
tokenType: string
uniqueId: string
}