HttpRequestUser interface

Object representing logged-in user, either through AppService/Functions authentication, or SWA Authentication

Properties

claimsPrincipalData

Extra authentication information, dependent on auth type and auth provider

id

unique user GUID

identityProvider

provider of authentication service

type

Type of authentication, either AppService or StaticWebApps

username

unique username

Property Details

claimsPrincipalData

Extra authentication information, dependent on auth type and auth provider

claimsPrincipalData: Record<string, unknown>

Property Value

Record<string, unknown>

id

unique user GUID

id: string

Property Value

string

identityProvider

provider of authentication service

identityProvider: string

Property Value

string

type

Type of authentication, either AppService or StaticWebApps

type: HttpRequestUserType

Property Value

username

unique username

username: string

Property Value

string