Show / Hide Table of Contents

    Class SecurityTokenSettings

    Specifies a set of features to support on the SecurityToken object created by the Create(SecurityTokenSettings) method.

    Inheritance
    System.Object
    SecurityTokenSettings
    Namespace: Cuemon.Security
    Assembly: Cuemon.Security.dll
    Syntax
    public sealed class SecurityTokenSettings

    Constructors

    | Improve this Doc

    SecurityTokenSettings()

    Initializes a new instance of the SecurityTokenSettings class.

    Declaration
    public SecurityTokenSettings()
    | Improve this Doc

    SecurityTokenSettings(TimeSpan)

    Initializes a new instance of the SecurityToken class.

    Declaration
    public SecurityTokenSettings(TimeSpan timeToLive)
    Parameters
    Type Name Description
    System.TimeSpan timeToLive

    The amount of time this token remains usable. Default is 15 seconds.

    | Improve this Doc

    SecurityTokenSettings(TimeSpan, Int32)

    Initializes a new instance of the SecurityToken class.

    Declaration
    public SecurityTokenSettings(TimeSpan timeToLive, int lengthOfToken)
    Parameters
    Type Name Description
    System.TimeSpan timeToLive

    The amount of time this token remains usable.

    System.Int32 lengthOfToken

    The length of the random generated token. Default is 24.

    | Improve this Doc

    SecurityTokenSettings(TimeSpan, Int32, String)

    Initializes a new instance of the SecurityTokenSettings class.

    Declaration
    public SecurityTokenSettings(TimeSpan timeToLive, int lengthOfToken, string reference)
    Parameters
    Type Name Description
    System.TimeSpan timeToLive

    The amount of time this token remains usable.

    System.Int32 lengthOfToken

    The length of the random generated token. Default is 24.

    System.String reference

    The reference of this token.

    | Improve this Doc

    SecurityTokenSettings(TimeSpan, String)

    Initializes a new instance of the SecurityToken class.

    Declaration
    public SecurityTokenSettings(TimeSpan timeToLive, string reference)
    Parameters
    Type Name Description
    System.TimeSpan timeToLive

    The amount of time this token remains usable.

    System.String reference

    The reference of this token.

    Properties

    | Improve this Doc

    LengthOfToken

    Gets the length of this token.

    Declaration
    public int LengthOfToken { get; }
    Property Value
    Type Description
    System.Int32

    The length of this token.

    | Improve this Doc

    Reference

    Gets the reference of this token.

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

    The reference of this token.

    | Improve this Doc

    TimeToLive

    Gets the amount of time to keep this token alive.

    Declaration
    public TimeSpan TimeToLive { get; }
    Property Value
    Type Description
    System.TimeSpan

    The amount of time to keep this token alive.

    Extension Methods

    ConverterExtensions.ParseWith<TSource, TResult>(TSource, Func<TSource, TResult>)
    ConverterExtensions.ParseWith<TSource, T, TResult>(TSource, Func<TSource, T, TResult>, T)
    ConverterExtensions.ParseWith<TSource, T1, T2, TResult>(TSource, Func<TSource, T1, T2, TResult>, T1, T2)
    ConverterExtensions.ParseWith<TSource, T1, T2, T3, TResult>(TSource, Func<TSource, T1, T2, T3, TResult>, T1, T2, T3)
    ConverterExtensions.ParseWith<TSource, T1, T2, T3, T4, TResult>(TSource, Func<TSource, T1, T2, T3, T4, TResult>, T1, T2, T3, T4)
    ConverterExtensions.ParseWith<TSource, T1, T2, T3, T4, T5, TResult>(TSource, Func<TSource, T1, T2, T3, T4, T5, TResult>, T1, T2, T3, T4, T5)
    ConverterExtensions.ParseWith<TSource, T1, T2, T3, T4, T5, T6, TResult>(TSource, Func<TSource, T1, T2, T3, T4, T5, T6, TResult>, T1, T2, T3, T4, T5, T6)
    ConverterExtensions.ParseWith<TSource, T1, T2, T3, T4, T5, T6, T7, TResult>(TSource, Func<TSource, T1, T2, T3, T4, T5, T6, T7, TResult>, T1, T2, T3, T4, T5, T6, T7)
    ConverterExtensions.ParseWith<TSource, T1, T2, T3, T4, T5, T6, T7, T8, TResult>(TSource, Func<TSource, T1, T2, T3, T4, T5, T6, T7, T8, TResult>, T1, T2, T3, T4, T5, T6, T7, T8)
    ConverterExtensions.ParseWith<TSource, T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult>(TSource, Func<TSource, T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult>, T1, T2, T3, T4, T5, T6, T7, T8, T9)
    ConverterExtensions.As<TResult>(Object)
    ConverterExtensions.As<TResult>(Object, TResult)
    ConverterExtensions.As<TResult>(Object, TResult, IFormatProvider)
    DelegateUtilityExtensions.Wrap<TResult>(TResult)
    DelegateUtilityExtensions.DynamicWrap<TResult>(TResult)
    TweakerExtensions.Adjust<T>(T, Func<T, T>)
    TypeUtilityExtensions.Is<T>(Object)
    TypeUtilityExtensions.IsNot<T>(Object)
    TypeUtilityExtensions.IsNullable<T>(T)
    WrapperExtensions.UseWrapper<T>(T, Action<IDictionary<String, Object>>)
    WrapperExtensions.UseWrapper<T>(T, MemberInfo, Action<IDictionary<String, Object>>)
    EnumerableUtilityExtensions.Yield<TSource>(TSource)
    HashUtilityExtensions.ComputeHash(Object, Action<HashOptions>)
    HmacUtilityExtensions.ComputeKeyedHash(Object, Byte[], Action<KeyedHashOptions>)
    • Improve this Doc
    • View Source
    Back to top Copyright 2008-2018 Weubphoria. All rights reserved.
    Generated by DocFX