Share via


InteractionType 列舉

定義

驗證要求的類型。

[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Serialization.JsonStringEnumConverter))]
public enum InteractionType
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Serialization.JsonStringEnumConverter<Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractionType>))]
public enum InteractionType
[<System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Serialization.JsonStringEnumConverter))>]
type InteractionType = 
[<System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Serialization.JsonStringEnumConverter<Microsoft.AspNetCore.Components.WebAssembly.Authentication.InteractionType>))>]
type InteractionType = 
Public Enum InteractionType
繼承
InteractionType
屬性

欄位

GetToken 1

因為無訊息布建失敗,所以以互動方式布建權杖,可能是因為使用者尚未同意,或因為現有的認證已過期。

SignIn 0

驗證或重新驗證使用者並布建預設存取權杖。

SignOut 2

將使用者登出。

適用於