Class PasswordAuthenticationContext
A password authentication context.
Inheritance
System.Object
System.Dynamic.DynamicObject
PasswordAuthenticationContext
Implements
System.Dynamic.IDynamicMetaObjectProvider
System.IDisposable
Inherited Members
System.Dynamic.DynamicObject.GetMetaObject(System.Linq.Expressions.Expression)
System.Dynamic.DynamicObject.TryBinaryOperation(System.Dynamic.BinaryOperationBinder, System.Object, System.Object)
System.Dynamic.DynamicObject.TryConvert(System.Dynamic.ConvertBinder, System.Object)
System.Dynamic.DynamicObject.TryCreateInstance(System.Dynamic.CreateInstanceBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryDeleteIndex(System.Dynamic.DeleteIndexBinder, System.Object[])
System.Dynamic.DynamicObject.TryDeleteMember(System.Dynamic.DeleteMemberBinder)
System.Dynamic.DynamicObject.TryGetIndex(System.Dynamic.GetIndexBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryInvoke(System.Dynamic.InvokeBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TrySetIndex(System.Dynamic.SetIndexBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryUnaryOperation(System.Dynamic.UnaryOperationBinder, System.Object)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Kephas.Security.Authentication
Assembly: Kephas.Core.dll
Syntax
public class PasswordAuthenticationContext : AuthenticationContext, IAuthenticationContext, IContext, IExpando, IDynamicMetaObjectProvider, IIndexable, ILoggable, IDisposable
Constructors
| Improve this Doc View SourcePasswordAuthenticationContext(String, String, ICompositionContext)
Initializes a new instance of the PasswordAuthenticationContext class.
Declaration
public PasswordAuthenticationContext(string userName, string password, ICompositionContext compositionContext = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | userName | Name of the user. |
System.String | password | The password. |
ICompositionContext | compositionContext | Optional. The context for the composition. If not provided, AmbientServices.Instance.CompositionContainer will be considered. |
Properties
| Improve this Doc View SourcePassword
Gets the password.
Declaration
public string Password { get; }
Property Value
Type | Description |
---|---|
System.String | The password. |
UserName
Gets the name of the user.
Declaration
public string UserName { get; }
Property Value
Type | Description |
---|---|
System.String | The name of the user. |
Implements
System.Dynamic.IDynamicMetaObjectProvider
System.IDisposable