Unosquare
    Show / Hide Table of Contents

    Class Auth

    Provides useful authentication-related constants.

    Inheritance
    Object
    Auth
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: EmbedIO.Authentication
    Syntax
    public static class Auth

    Fields

    NoUser

    Gets an interface representing no user. To be used instead of null to initialize fields or properties of type .

    Declaration
    public static readonly IPrincipal NoUser
    Field Value
    Type Description
    IPrincipal

    Methods

    CreateUnauthenticatedPrincipal(String)

    Creates and returns an interface representing an unauthenticated user, with the given authentication type.

    Declaration
    public static IPrincipal CreateUnauthenticatedPrincipal(string authenticationType)
    Parameters
    Type Name Description
    String authenticationType

    The type of authentication used to identify the user.

    Returns
    Type Description
    IPrincipal

    An interface.

    Comments

    Back to top Copyright © 2017-2019 Unosquare