public void Analyze_AnonymousClientIdentity() { var rst = RstFactory.Create(Constants.Realms.UnknownRealm); var details = request.Analyze(rst, PrincipalFactory.Create(Constants.Principals.Anonymous)); // unknown realm Assert.IsFalse(details.IsKnownRealm); }
public void Setup() { config = ConfigurationFactory.Create(Constants.ConfigurationModes.LockedDownAllowReplyTo); request = new Request(config, new TestRelyingPartyRepository(), null); _alice = PrincipalFactory.Create(Constants.Principals.AliceUserName); }
public void Setup() { repo = ConfigurationRepositoryFactory.Create(Constants.ConfigurationModes.LockedDown); request = new Request(repo, new TestRelyingPartyRepository(), null); _alice = PrincipalFactory.Create(Constants.Principals.AliceUserName); }