SamlSecurityTokenHandler.NormalizeAuthenticationType Method (String)

.NET Framework (current version)

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

Namespace:   System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

protected virtual string NormalizeAuthenticationType(
	string saml11AuthenticationMethod


Type: System.String

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

Return Value

Type: System.String

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

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.

.NET Framework
Available since 4.5
Return to top