Class AuthenticationContext
An authentication context.
Inheritance
System.Object
System.Dynamic.DynamicObject
AuthenticationContext
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 AuthenticationContext : Context, IAuthenticationContext, IContext, IExpando, IDynamicMetaObjectProvider, IIndexable, ILoggable, IDisposable
Constructors
| Improve this Doc View SourceAuthenticationContext(ICompositionContext)
Initializes a new instance of the AuthenticationContext class.
Declaration
public AuthenticationContext(ICompositionContext compositionContext = null)
Parameters
Type | Name | Description |
---|---|---|
ICompositionContext | compositionContext | Optional. The context for the composition. If not provided, AmbientServices.Instance.CompositionContainer will be considered. |
Properties
| Improve this Doc View SourceThrowOnFailure
Gets or sets a value indicating whether to throw on failure.
Declaration
public bool ThrowOnFailure { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | True if throw on failure, false if not. |
Implements
System.Dynamic.IDynamicMetaObjectProvider
System.IDisposable