Class BaseAuthenticationConfig
Base class for authenticator alternatives.
Inherited Members
Namespace: Cognite.Extensions.Unstable
Assembly: Cognite.Extensions.dll
Syntax
public abstract class BaseAuthenticationConfig
Properties
| Edit this page View SourceType
Authentication type
Declaration
public abstract string Type { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
| Edit this page View SourceGetAuthenticator(IServiceProvider)
Create an authenticator using this configuration object.
Declaration
public abstract IAuthenticator GetAuthenticator(IServiceProvider provider)
Parameters
Type | Name | Description |
---|---|---|
IService |
provider | Service provider, must contain an HTTP client. |
Returns
Type | Description |
---|---|
IAuthenticator | Authenticator. |
Variants()
Get a map from discriminator value to type for this union.
Declaration
public static IDictionary<string, Type> Variants()
Returns
Type | Description |
---|---|
IDictionary<string, Type> |