Represents a class that validates security token issuer names.
Assembly: System.IdentityModel.Tokens.ValidatingIssuerNameRegistry (in System.IdentityModel.Tokens.ValidatingIssuerNameRegistry.dll)
Thetype exposes the following members.
|ValidatingIssuerNameRegistry()||Instantiates a new object with no IssuingAuthorities.|
|ValidatingIssuerNameRegistry(IEnumerable<IssuingAuthority>)||Instantiates a new object with an enumeration of issuing authorities.|
|ValidatingIssuerNameRegistry(IssuingAuthority)||Instantiates a new object with one [IssuingAuthority].|
|CreateIssuingAuthority||A factory method that is called from LoadAuthority to enable the use of a custom [IssuingAuthority].|
|GetIssuerName(SecurityToken)||This method is not supported. Call the overload GetIssuerName instead.|
|GetIssuerName(SecurityToken, String)||Returns the name of the security token issuer.|
|GetIssuingAuthority||Calls out to the metadata address and returns an [IssuingAuthority] with the contents of keys and issuers found in the metadata.|
|IsSymmetricKeyValid||This method can be called as part of a security token validating sequence where it is necessary to validate that the signer of a security token and the issuer of a security token are as expected.|
|IsThumbprintValid||Can be called as part of a security token validating sequence where it is necessary to validate that the signer of a security token and the issuer of a security token are as expected.|
|LoadAuthority||Parses the input and creates an IssuingAuthority.|
|LoadCustomConfiguration||Loads a set of configuration elements for custom handling.|
|WriteToConfig||Updates the application configuration with information obtained from a federation metadata document.|
Services that are responsible for issuing security tokens can sign the tokens using a Symmetric or an Asymmetric Key. Tokens can also contain a logical issuer, which may be different than the signer of the token.
can be used as part of a token validation sequence to ensure that signer of a token and the token issuer are as expected.
can be constructed from a web.config or app.config from the following xml:
<system.identityModel> <issuerNameRegistry type='derived from ValidatingIssuerNameRegistry'> <authority name='someFriendlyName'> <keys> <add thumbprint='caseInsensitiveString'/> <add symmetricKey='Base64Encoded bytes' /> </keys> <validIssuers> <add name='issuer1'/> <add name='issuer2'/> </validIssuers> </authority> </issuerNameRegistry> </system.identityModel>