Class ClientCertificateConfig
Configuration for authenticating using a client certificate.
Inherited Members
Namespace: Cognite.Extensions.Unstable
Assembly: Cognite.Extensions.dll
Syntax
public class ClientCertificateConfig : BaseAuthenticationConfig
Properties
| Edit this page View SourceAuthorityUrl
Authority URL, required.
Declaration
public string? AuthorityUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ClientId
The application (client) Id. Required.
Declaration
public string? ClientId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Client Id |
Password
Certificate password.
Declaration
public string? Password { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Path
Path to base 64 encoded x509 certificate, required.
Declaration
public string? Path { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Scopes
Resource scopes
Declaration
public ListOrSpaceSeparated? Scopes { get; set; }
Property Value
| Type | Description |
|---|---|
| ListOrSpaceSeparated | Scope |
Type
Authentication type
Declaration
public override string Type { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
| Edit this page View SourceGetAuthenticator(IServiceProvider, string)
Create an authenticator using this configuration object.
Declaration
public override IAuthenticator GetAuthenticator(IServiceProvider provider, string authClientName)
Parameters
| Type | Name | Description |
|---|---|---|
| IServiceProvider | provider | Service provider, must contain an HTTP client. |
| string | authClientName | Name of the HTTP client to use. |
Returns
| Type | Description |
|---|---|
| IAuthenticator | Authenticator. |