public string BuildAuthnRequestUrl(Saml2AuthnRequest saml2AuthnRequest, AsymmetricAlgorithm signingKey, string hashingAlgorithm, string relayState) { var request = saml2AuthnRequest.GetXml().OuterXml; return(BuildRequestUrl(signingKey, hashingAlgorithm, relayState, request, saml2AuthnRequest.Destination)); }
public string BuildAuthnRequestUrl(Saml2AuthnRequest saml2AuthnRequest, AsymmetricAlgorithm signingKey, string hashingAlgorithm, string relayState) { System.Console.WriteLine(""); System.Console.WriteLine("[HttpRedirectBinding][BuildAuthnRequestUrl] => saml2AuthnRequest: " + saml2AuthnRequest); System.Console.WriteLine("[HttpRedirectBinding][BuildAuthnRequestUrl] => hashingAlgorithm: " + hashingAlgorithm); System.Console.WriteLine("[HttpRedirectBinding][BuildAuthnRequestUrl] => relayState: " + relayState); var request = saml2AuthnRequest.GetXml().OuterXml; System.Console.WriteLine(""); System.Console.WriteLine("[HttpRedirectBinding][BuildAuthnRequestUrl] => request: " + request); System.Console.WriteLine(""); return(BuildRequestUrl(signingKey, hashingAlgorithm, relayState, request, saml2AuthnRequest.Destination)); }
public string BuildAuthnRequestUrl(string providerName, Saml2AuthnRequest saml2AuthnRequest, string relayState) { var request = saml2AuthnRequest.GetXml().OuterXml; return(BuildRequestUrl(providerName, relayState, request, saml2AuthnRequest.Destination)); }