HttpListenerBasicIdentity HttpListenerBasicIdentity HttpListenerBasicIdentity HttpListenerBasicIdentity Class

Definition

Holds the user name and password from a basic authentication request.

public ref class HttpListenerBasicIdentity : System::Security::Principal::GenericIdentity
public class HttpListenerBasicIdentity : System.Security.Principal.GenericIdentity
type HttpListenerBasicIdentity = class
    inherit GenericIdentity
Public Class HttpListenerBasicIdentity
Inherits GenericIdentity
Inheritance
HttpListenerBasicIdentityHttpListenerBasicIdentityHttpListenerBasicIdentityHttpListenerBasicIdentity

Constructors

HttpListenerBasicIdentity(String, String) HttpListenerBasicIdentity(String, String) HttpListenerBasicIdentity(String, String) HttpListenerBasicIdentity(String, String)

Initializes a new instance of the HttpListenerBasicIdentity class using the specified user name and password.

Properties

AuthenticationType AuthenticationType AuthenticationType AuthenticationType

Gets the type of authentication used to identify the user.

(Inherited from GenericIdentity)
Claims Claims Claims Claims

Gets all claims for the user represented by this generic identity.

(Inherited from GenericIdentity)
IsAuthenticated IsAuthenticated IsAuthenticated IsAuthenticated

Gets a value indicating whether the user has been authenticated.

(Inherited from GenericIdentity)
Name Name Name Name

Gets the user's name.

(Inherited from GenericIdentity)
Password Password Password Password

Indicates the password from a basic authentication attempt.

Methods

Clone() Clone() Clone() Clone()

Creates a new object that is a copy of the current instance.

(Inherited from GenericIdentity)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to