Прочетете на английски Редактиране

Споделяне чрез


SamlSecurityTokenHandler.NormalizeAuthenticationType(String) Method

Definition

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

C#
protected virtual string NormalizeAuthenticationType(string saml11AuthenticationMethod);

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

Продукт Версии
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1