in wwauth/Google.Solutions.WWAuth/Data/Saml2/AuthenticationRequest.cs [59:82]
public AuthenticationRequest(
string destination,
string relyingPartyId,
string acsUrl)
{
if (!Uri.IsWellFormedUriString(relyingPartyId, UriKind.Absolute))
{
throw new ArgumentException("Relying party ID must be a URI");
}
if (!Uri.IsWellFormedUriString(acsUrl, UriKind.Absolute))
{
throw new ArgumentException("ACS must be a URI");
}
if (!Uri.IsWellFormedUriString(destination, UriKind.Absolute))
{
throw new ArgumentException("Destination must be a URI");
}
this.RelyingPartyId = relyingPartyId.ThrowIfNull(nameof(relyingPartyId));
this.AssertionConsumerServiceUrl = acsUrl.ThrowIfNull(nameof(acsUrl));
this.Destination = destination.ThrowIfNull(nameof(destination));
}