Edit

Share via


SamlSecurityTokenHandler.NormalizeAuthenticationType(String) Method

Definition

Returns the normalized value that matches a SAML 1.1 authentication method identifier.

protected:
 virtual System::String ^ NormalizeAuthenticationType(System::String ^ saml11AuthenticationMethod);
protected virtual string NormalizeAuthenticationType (string saml11AuthenticationMethod);
abstract member NormalizeAuthenticationType : string -> string
override this.NormalizeAuthenticationType : string -> string
Protected Overridable Function NormalizeAuthenticationType (saml11AuthenticationMethod As String) As String

Parameters

saml11AuthenticationMethod
String

The SAML 1.1 authentication method identifier (URI) to normalize.

Returns

The normalized value, which is one of the AuthenticationMethods values. If no matching value exists, saml11AuthenticationMethod is returned, unaltered.

Remarks

The NormalizeAuthenticationType method returns the AuthenticationMethods value that matches the specified SAML11 authentication method identifier. For example, if urn:oasis:names:tc:SAML:1.0:am:X509-PKI is specified for saml11AuthenticationMethod, X509 is returned. If a mapping does not exist for saml11AuthenticationMethod, it is returned unaltered.

Applies to