Nucleus .Net Core CMS

Models.Configuration.ClaimTypeOption Class

Namespace: Nucleus.Abstractions.Models.Configuration
Assembly: Nucleus.Abstractions.dll
Class used to read extended data for claim types from the configuration file. Extended data is used when rendering controls for a UserProfileValue which represents a per-user value for the claim type.

Constructors

Nucleus.Abstractions.Models.Configuration.ClaimTypeOption Constructor

Nucleus.Abstractions.Models.Configuration.ClaimTypeOption ()
Constructor used by configuration file deserialization.

Nucleus.Abstractions.Models.Configuration.ClaimTypeOption Constructor

Nucleus.Abstractions.Models.Configuration.ClaimTypeOption (String uri, String defaultName, String inputType, String pattern, Boolean isSiteDefault)
Constructor used to create a default claim type for a Uri which is not found in the configuration file.
Parameters
Name Type
uri String
defaultName String
inputType String
pattern String
isSiteDefault Boolean

Properties

Uri Property

Claim type Uri. Claims should use one of the values from the http://schemas.microsoft.com/ws/2008/06/identity/claims namespace, or from the OpenId Connect specification where available, but can use a custom uri if no pre-existing Uri exists for the required type.

DefaultName Property

A default friendly name for the claim, used on-screen as a label.

Pattern Property

Regular expression used to validate input.

InputType Property

An type used for a HTML element used to collect input for this claim type.

IsSiteDefault Property

Specifies whether new sites have this claim added to the site's User Profile Properties automatically.