private void Authorize() { if (Authorizing == null) return; var args = new AuthorizingEventArgs(_authServer); Authorizing(this, args); Activated = args.Authorized; }
public void Auth(AuthorizingEventArgs authArgs) { authArgs.Authorized = Settings.HasCredentials; }