Class IdentityTicket
The IdentityTicket is used to wrap details about an authenticated identity that is associated with an oauth access token
Inheritance
System.Object
IdentityTicket
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ImageVault.Core.Common.Security.OAuth
Assembly: ImageVault.Core.dll
Syntax
public class IdentityTicket
Constructors
IdentityTicket()
Declaration
public IdentityTicket()
Properties
Claims
Contains the claims for the identity ticket
Declaration
public IList<ClaimInfo> Claims { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<ClaimInfo> |
ShouldPopulateRoles
Get/Sets the ShouldPopulateRoles of the IdentityTicket
Declaration
public bool ShouldPopulateRoles { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
Parse(String)
Parses the supplied json data and returns the deserialized IdentityTicket
Declaration
public static IdentityTicket Parse(string json)
Parameters
Type | Name | Description |
---|---|---|
System.String | json | the json string to parse |
Returns
Type | Description |
---|---|
IdentityTicket | The parsed IdentityTicket |
ToString()
Serializes the IdentityTicket to a json string
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A System.String that represents the current IdentityTicket. |
Overrides
System.Object.ToString()