MicrosoftIdentityIssuerValidatorFactory.GetAadIssuerValidator(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets an AadIssuerValidator for an authority.
public Microsoft.IdentityModel.Validators.AadIssuerValidator GetAadIssuerValidator (string aadAuthority);
member this.GetAadIssuerValidator : string -> Microsoft.IdentityModel.Validators.AadIssuerValidator
Public Function GetAadIssuerValidator (aadAuthority As String) As AadIssuerValidator
Parameters
- aadAuthority
- String
The authority to create the validator for, e.g. https://login.microsoftonline.com/.
Returns
A AadIssuerValidator for the aadAuthority.
Exceptions
if aadAuthority
is null or empty.