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)
Create an authenticator using this configuration object.
Declaration
public override IAuthenticator GetAuthenticator(IServiceProvider provider)
Parameters
Type | Name | Description |
---|---|---|
IServiceProvider | provider | Service provider, must contain an HTTP client. |
Returns
Type | Description |
---|---|
IAuthenticator | Authenticator. |