Class OAuthServiceIdentityDefinition
Represents serializable OAuth token validation keys and secrets.
Inherited Members
Namespace: Nevatech.Vsb.Repository.Services.Identities
Assembly: Nevatech.Vsb.Repository.dll
Syntax
[DataContract(Namespace = "http://schemas.nevatech.com/sentinet/2011/02")]
public sealed class OAuthServiceIdentityDefinition : IdentityDefinitionBase, IValidator, IExtensibleDataObject
Constructors
OAuthServiceIdentityDefinition()
Initializes an empty instance.
Declaration
public OAuthServiceIdentityDefinition()
OAuthServiceIdentityDefinition(Identity)
Initializes new instance from provided Identity object.
Declaration
[SuppressMessage("Microsoft.Design", "CA1062:Validate arguments of public methods", MessageId = "0")]
public OAuthServiceIdentityDefinition(Identity identity)
Parameters
| Type | Name | Description |
|---|---|---|
| Identity | identity | Identity object used to populate new instance. |
Properties
FriendlyName
Gets or sets the friendly name describing stored identity.
Declaration
[DataMember]
public override string FriendlyName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Kind
Gets stored identity kind (like X.509 certificate, SPN, etc).
Declaration
[DataMember]
public override IdentityKind Kind { get; protected set; }
Property Value
| Type | Description |
|---|---|
| IdentityKind |
Overrides
TokenValidation
Gets token signing keys used to validate access tokens.
Declaration
[DataMember]
public TokenValidationConfiguration TokenValidation { get; }
Property Value
| Type | Description |
|---|---|
| TokenValidationConfiguration |
Methods
GetIdentity()
Returns Identity object populated with the data stored in this instance.
Declaration
public override Identity GetIdentity()
Returns
| Type | Description |
|---|---|
| Identity | Identity object populated with the data stored in this instance. |
Overrides
Validate()
Validates this domain object's state.
Declaration
public override bool Validate()
Returns
| Type | Description |
|---|---|
| bool | True if object's state is valid; otherwise, false. |