public static PositiveAuthenticationResponse1 CreateAsync_ccp( PositiveAssertionResponse response, OpenIdRelyingParty relyingParty, CancellationToken cancellationToken) { var result = new PositiveAuthenticationResponse1(response, relyingParty); result.VerifyDiscoveryMatchesAssertionAsync_ccp(relyingParty, cancellationToken); //Contract.Assert(false); return(result); }
public static PositiveAuthenticationResponse1 CreateAsync_ccp( PositiveAssertionResponse response, OpenIdRelyingParty relyingParty, CancellationToken cancellationToken) { var result = new PositiveAuthenticationResponse1(response, relyingParty); GlobalState.claimedEndPoint = result.Endpoint; result.VerifyDiscoveryMatchesAssertionAsync_ccp(relyingParty, cancellationToken); return(result); }