Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

SamlSecurityTokenHandler.NormalizeAuthenticationType Method

.NET Framework 4.6 and 4.5

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
)

Parameters

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

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft