public BasicLoginContext(User user, AuthenticationResult authenticationResult) { this._authSubject = new BasicAuthSubject(this, user, authenticationResult); switch (authenticationResult) { case AuthenticationResult.SUCCESS: _accessMode = [email protected]_Static.Full; break; case AuthenticationResult.PASSWORD_CHANGE_REQUIRED: _accessMode = [email protected]_Static.CredentialsExpired; break; default: _accessMode = [email protected]_Static.None; break; } }
public RestrictedAccessMode(AccessMode original, AccessMode restricting) : base(original, restricting) { }
internal WrappedAccessMode(AccessMode original, AccessMode wrapping) { this.Original = original; this.Wrapping = wrapping; }
public OverriddenAccessMode(AccessMode original, AccessMode overriding) : base(original, overriding) { }
private AnonymousContext(AccessMode accessMode) { this._accessMode = accessMode; }