Skip to main content

Scopes Class

Abblix.Oidc.Server

Abblix.Oidc.Server.Common.Constants

Scopes Class

Represents common OAuth 2.0 and OpenID Connect scopes.

public static class Scopes

Inheritance System.Object → Scopes

Fields

Scopes.Address Field

The "address" scope is used to request access to the user's physical address information.

public const string Address = "address";

Field Value

System.String

Scopes.Email Field

The "email" scope is used to request access to the user's email address.

public const string Email = "email";

Field Value

System.String

Scopes.OfflineAccess Field

The "offline_access" scope is used to request a refresh token that allows the client to obtain new access tokens without user interaction.

public const string OfflineAccess = "offline_access";

Field Value

System.String

Scopes.OpenId Field

The "openid" scope is used to indicate that the request is an OpenID Connect request, allowing the identity of the user to be included in the response.

public const string OpenId = "openid";

Field Value

System.String

Scopes.Phone Field

The "phone" scope is used to request access to the user's phone number.

public const string Phone = "phone";

Field Value

System.String

Scopes.Profile Field

The "profile" scope is used to request access to the user's profile information, such as their name, picture, and other profile-related details.

public const string Profile = "profile";

Field Value

System.String