Show / Hide Table of Contents

    Class PassThroughUserNameTokenHandler

    Represents a pass-through UserNameSecurityTokenHandler which issues claims containing user name and authentication type.

    Inheritance
    Object
    PassThroughUserNameTokenHandler
    Namespace: Nevatech.Vsb.Repository.Security
    Assembly: Nevatech.Vsb.Repository.dll
    Syntax
    public sealed class PassThroughUserNameTokenHandler : UserNameSecurityTokenHandler

    Constructors

    PassThroughUserNameTokenHandler()

    Declaration
    public PassThroughUserNameTokenHandler()

    Properties

    CanValidateToken

    Gets flag indicating that handled can validate security token.

    Declaration
    public override bool CanValidateToken { get; }
    Property Value
    Type Description
    Boolean

    Methods

    ValidateToken(SecurityToken)

    Validates provided user name token and issues claims.

    Declaration
    public override ReadOnlyCollection<ClaimsIdentity> ValidateToken(SecurityToken token)
    Parameters
    Type Name Description
    SecurityToken token

    User name token that needs to be validated.

    Returns
    Type Description
    ReadOnlyCollection<ClaimsIdentity>

    Collection of claims presented in provided token.

    Back to top Nevatech Sentinet 6.5 Online Documentation