Generated by DocFX

Class TokenRequest

Class TokenRequest.

Inheritance
System.Object
TokenRequest
Namespace: ISynergy.Framework.Core.Models
Assembly: ISynergy.Framework.Core.dll
Syntax
public class TokenRequest : object

Constructors

View Source

TokenRequest(String, IEnumerable<KeyValuePair<String, String>>, IEnumerable<String>, TimeSpan)

Initializes a new instance of the TokenRequest class.

Declaration
public TokenRequest(string username, IEnumerable<KeyValuePair<string, string>> claims, IEnumerable<string> roles, TimeSpan expiration)
Parameters
Type Name Description
System.String username

The username.

IEnumerable<KeyValuePair<System.String, System.String>> claims

The claims.

IEnumerable<System.String> roles

The roles.

TimeSpan expiration

The expiration.

Properties

View Source

Claims

Gets the claims.

Declaration
public IEnumerable<KeyValuePair<string, string>> Claims { get; }
Property Value
Type Description
IEnumerable<KeyValuePair<System.String, System.String>>

The claims.

View Source

Expiration

Gets the expiration.

Declaration
public TimeSpan Expiration { get; }
Property Value
Type Description
TimeSpan

The expiration.

View Source

Roles

Gets the roles.

Declaration
public IEnumerable<string> Roles { get; }
Property Value
Type Description
IEnumerable<System.String>

The roles.

View Source

Username

Gets the username.

Declaration
public string Username { get; }
Property Value
Type Description
System.String

The username.

Extension Methods

Matrix.Replace<T>(T, Object, Object)
Matrix.IsEqual(Object, Object, Decimal, Decimal)
EntityBaseExtensions.HasProperty(Object, String)
ArrayExtensions.Concatenate<T>(T, T[])
CollectionExtensions.FromHierarchy<TSource>(TSource, Func<TSource, TSource>, Func<TSource, Boolean>)
CollectionExtensions.FromHierarchy<TSource>(TSource, Func<TSource, TSource>)
ObjectExtensions.Clone<T>(T)
ObjectExtensions.To<T>(Object)
ObjectExtensions.To(Object, Type)
ObjectExtensions.HasMethod(Object, String)
ObjectExtensions.AddressOf<T>(T)
ReflectionExtensions.GetIdentityValue<T>(T)
ReflectionExtensions.GetIdentityValue<T, TResult>(T)
ReflectionExtensions.GetIdentityProperty<T>(T)
ReflectionExtensions.HasIdentityProperty<T>(T)
ReflectionExtensions.GetPropertyValue<T, TResult>(T, String, TResult)
ReflectionExtensions.GetPropertyInfo<T, TValue>(T, Expression<Func<T, TValue>>)
ReflectionExtensions.GetTitleValue<T>(T)
ReflectionExtensions.HasParentIdentityProperty<T>(T)
ReflectionExtensions.GetParentIdentityProperty<T>(T)
ReflectionExtensions.IsFreeApplication<T>(T)