Table of Contents

Class UserInfo

Namespace
Zedal.Sdk.Apis.Core
Assembly
Zedal.Sdk.dll

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

Email

E-mail address of the account (OIDC claim email) as stored, not validated. Scope email.

EmailVerified

Whether the provider has verified that the address belongs to the account (OIDC claim email_verified). Scope email.

Name

Free-text description of the account (OIDC claim name), a person, a company or a department. Scope profile.

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.