HttpRequestUser interface

物件,表示透過AppService/Functions驗證或SWA驗證登入的使用者

屬性

claimsPrincipalData

相依於驗證類型和驗證提供者的額外驗證資訊

id

唯一的使用者 GUID

identityProvider

驗證服務的提供者

type

驗證類型,AppService 或 StaticWebApps

username

唯一的用戶名稱

屬性詳細資料

claimsPrincipalData

相依於驗證類型和驗證提供者的額外驗證資訊

claimsPrincipalData: Record<string, unknown>

屬性值

Record<string, unknown>

id

唯一的使用者 GUID

id: string

屬性值

string

identityProvider

驗證服務的提供者

identityProvider: string

屬性值

string

type

驗證類型,AppService 或 StaticWebApps

type: HttpRequestUserType

屬性值

username

唯一的用戶名稱

username: string

屬性值

string