Example #1
0
        private AuthenticationRequest CreateAuthenticationRequest(Identifier claimedIdentifier, Identifier providerLocalIdentifier)
        {
            ProviderEndpointDescription providerEndpoint = new ProviderEndpointDescription(OPUri, this.protocol.Version);
            IdentifierDiscoveryResult   endpoint         = IdentifierDiscoveryResult.CreateForClaimedIdentifier(claimedIdentifier, providerLocalIdentifier, providerEndpoint, 10, 5);
            OpenIdRelyingParty          rp = this.CreateRelyingParty();

            return(AuthenticationRequest.CreateForTest(endpoint, this.realm, this.returnTo, rp));
        }