Table of Contents

Class ApplicationClaimMappingOptions

Namespace
ProjectTemplate.Web.Authentication.Claims
Assembly
ProjectTemplate.Web.dll

Represents source claim mappings used to normalize provider-specific claims.

public sealed class ApplicationClaimMappingOptions
Inheritance
ApplicationClaimMappingOptions
Inherited Members

Properties

Email

Gets or sets the collection of claim type identifiers used to represent an email address.

public ICollection<string> Email { get; set; }

Property Value

ICollection<string>

Remarks

This collection typically includes standard claim type names such as "email", "emailaddress", and the value of Email. Modify this collection to support custom or additional claim type identifiers as needed.

Group

Gets or sets the collection of group identifiers associated with the entity.

public ICollection<string> Group { get; set; }

Property Value

ICollection<string>

Name

Gets or sets the collection of claim type names used to identify a user's name.

public ICollection<string> Name { get; set; }

Property Value

ICollection<string>

Remarks

This collection typically includes standard claim type identifiers such as "name", "display_name", and values from ClaimTypes. The collection can be customized to support additional or alternative claim type names as needed.

Permission

Gets or sets the collection of permission identifiers associated with the current context.

public ICollection<string> Permission { get; set; }

Property Value

ICollection<string>

Role

Gets or sets the collection of claim type names that represent user roles.

public ICollection<string> Role { get; set; }

Property Value

ICollection<string>

Remarks

This collection typically includes standard claim type names such as "role", "roles", and the value of Role. Modify this collection to support custom or additional role claim types as needed.

Subject

Gets or sets the collection of claim type identifiers used to represent the subject in security tokens.

public ICollection<string> Subject { get; set; }

Property Value

ICollection<string>

Remarks

This collection typically includes standard claim types such as 'sub', 'subject', 'nameid', and the value of ClaimTypes.NameIdentifier. The identifiers are used to extract or assign the subject value when processing security tokens.