Show / Hide Table of Contents

    Class MultipleSymmetricKeySecurityToken

    Represents a security token which contains multiple security keys that are generated using symmetric algorithms.

    Inheritance
    System.Object
    System.IdentityModel.Tokens.SecurityToken
    MultipleSymmetricKeySecurityToken
    Inherited Members
    System.IdentityModel.Tokens.SecurityToken.CanCreateKeyIdentifierClause<T>()
    System.IdentityModel.Tokens.SecurityToken.CreateKeyIdentifierClause<T>()
    System.IdentityModel.Tokens.SecurityToken.ResolveKeyIdentifierClause(System.IdentityModel.Tokens.SecurityKeyIdentifierClause)
    System.Object.ToString()
    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:AzureFunctionsForSharePoint.Core.Security
    Assembly:AzureFunctionsForSharePoint.Common.dll
    Syntax
    public class MultipleSymmetricKeySecurityToken : SecurityToken

    Constructors

    | Improve this Doc View Source

    MultipleSymmetricKeySecurityToken(IEnumerable<Byte[]>)

    Initializes a new instance of the MultipleSymmetricKeySecurityToken class.

    Declaration
    public MultipleSymmetricKeySecurityToken(IEnumerable<byte[]> keys)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<System.Byte[]> keys

    An enumeration of Byte arrays that contain the symmetric keys.

    | Improve this Doc View Source

    MultipleSymmetricKeySecurityToken(String, IEnumerable<Byte[]>)

    Initializes a new instance of the MultipleSymmetricKeySecurityToken class.

    Declaration
    public MultipleSymmetricKeySecurityToken(string id, IEnumerable<byte[]> keys)
    Parameters
    Type Name Description
    System.String id

    The unique identifier of the security token.

    System.Collections.Generic.IEnumerable<System.Byte[]> keys

    An enumeration of Byte arrays that contain the symmetric keys.

    Properties

    | Improve this Doc View Source

    Id

    Gets the unique identifier of the security token.

    Declaration
    public override string Id { get; }
    Property Value
    Type Description
    System.String
    Overrides
    System.IdentityModel.Tokens.SecurityToken.Id
    | Improve this Doc View Source

    SecurityKeys

    Gets the cryptographic keys associated with the security token.

    Declaration
    public override ReadOnlyCollection<SecurityKey> SecurityKeys { get; }
    Property Value
    Type Description
    System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Tokens.SecurityKey>
    Overrides
    System.IdentityModel.Tokens.SecurityToken.SecurityKeys
    | Improve this Doc View Source

    ValidFrom

    Gets the first instant in time at which this security token is valid.

    Declaration
    public override DateTime ValidFrom { get; }
    Property Value
    Type Description
    System.DateTime
    Overrides
    System.IdentityModel.Tokens.SecurityToken.ValidFrom
    | Improve this Doc View Source

    ValidTo

    Gets the last instant in time at which this security token is valid.

    Declaration
    public override DateTime ValidTo { get; }
    Property Value
    Type Description
    System.DateTime
    Overrides
    System.IdentityModel.Tokens.SecurityToken.ValidTo

    Methods

    | Improve this Doc View Source

    MatchesKeyIdentifierClause(SecurityKeyIdentifierClause)

    Returns a value that indicates whether the key identifier for this instance can be resolved to the specified key identifier.

    Declaration
    public override bool MatchesKeyIdentifierClause(SecurityKeyIdentifierClause keyIdentifierClause)
    Parameters
    Type Name Description
    System.IdentityModel.Tokens.SecurityKeyIdentifierClause keyIdentifierClause

    A SecurityKeyIdentifierClause to compare to this instance

    Returns
    Type Description
    System.Boolean

    true if keyIdentifierClause is a SecurityKeyIdentifierClause and it has the same unique identifier as the Id property; otherwise, false.

    Overrides
    System.IdentityModel.Tokens.SecurityToken.MatchesKeyIdentifierClause(System.IdentityModel.Tokens.SecurityKeyIdentifierClause)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2016 InstantQuick
    View project on Github