Class UserInfo
Current profile data of the signed-in account, from GetUserInfo(ZedalCallContext). The scopes of the
AccessToken select the fields: profile for the names, email for the e-mail address. A field is
null if the AccessToken lacks its scope or the account has no value.
public sealed class UserInfo
- Inheritance
-
UserInfo
- Inherited Members
Constructors
- UserInfo(string, string, string, string, string, bool?)
Initializes a new instance of the UserInfo class. Blank values become
null.
Properties
E-mail address of the account (OIDC claim
email) as stored, not validated. Scopeemail.
- EmailVerified
Whether the provider has verified that the address belongs to the account (OIDC claim
email_verified). Scopeemail.
- Name
Free-text description of the account (OIDC claim
name), a person, a company or a department. Scopeprofile.
- ProviderName
Name of the provider operating the account. Scope
profile.
- Subject
Stable identifier of the account (OIDC claim
sub), a UUID. It never changes and is never assigned to another account. Always set.
- SubscriberName
Full name of the subscriber the account belongs to, usually a company. Scope
profile.