Function: registerAuthenticationProvider()
registerAuthenticationProvider(
id
,label
,provider
,options
?):Disposable
Register an authentication provider.
There can only be one provider per id and an error is being thrown when an id has already been used by another provider. Ids are case-sensitive.
Parameters
• id: string
The unique identifier of the provider.
• label: string
The human-readable name of the provider.
• provider: AuthenticationProvider
The authentication provider provider.
• options?: AuthenticationProviderOptions
Additional options for the provider.
Returns
A disposable that unregisters this provider when being disposed.