Methods
Static CreateInstance
CreateInstance( authorityUrl: string , validateAuthority: boolean , authorityMetadata?: string ) : Authority
Parameters
authorityUrl: string
validateAuthority: boolean
Optional authorityMetadata: string
Returns Authority
Static getMetadata
getMetadata( authorityUrl: string ) : ITenantDiscoveryResponse
Parameters
Returns ITenantDiscoveryResponse
Static saveMetadataFromConfig
saveMetadataFromConfig( authorityUrl: string , authorityMetadataJson: string ) : void
Parameters
authorityUrl: string
authorityMetadataJson: string
Returns void
Static saveMetadataFromNetwork
saveMetadataFromNetwork( authorityInstance: Authority , telemetryManager: TelemetryManager , correlationId: string ) : Promise < ITenantDiscoveryResponse >
Parameters
authorityInstance: Authority
correlationId: string
Returns Promise < ITenantDiscoveryResponse >
Legend
Module
Object literal
Variable
Function
Function with type parameter
Index signature
Type alias
Type alias with type parameter
Enumeration
Enumeration member
Property
Method
Interface
Interface with type parameter
Constructor
Property
Method
Index signature
Class
Class with type parameter
Constructor
Property
Method
Accessor
Index signature
Inherited constructor
Inherited property
Inherited method
Inherited accessor
Protected property
Protected method
Protected accessor
Private property
Private method
Private accessor
Static property
Static method
Create an authority object of the correct type based on the url Performs basic authority validation - checks to see if the authority is of a valid type (eg aad, b2c)