Udostępnij za pośrednictwem


MicrosoftIdentityIssuerValidatorFactory.GetAadIssuerValidator(String) Method

Definition

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.

Applies to