Class AuthenticatorConfig
Authenticator configuration. For more information, read the OAth 2.0 client credentials flow
Inherited Members
Namespace: Cognite.Extensions
Assembly: Cognite.Extensions.dll
Syntax
public class AuthenticatorConfig
  Properties
| Edit this page View SourceAudience
Audience
Declaration
public string? Audience { get; set; }
  Property Value
| Type | Description | 
|---|---|
| string | Audience  | 
      
Authority
Identity provider authority endpoint (optional)
Declaration
public string? Authority { get; set; }
  Property Value
| Type | Description | 
|---|---|
| string | URI  | 
      
Certificate
Configuration for using certificate authentication.
Declaration
public CertificateConfig? Certificate { get; set; }
  Property Value
| Type | Description | 
|---|---|
| CertificateConfig | 
ClientId
The application (client) Id
Declaration
public string? ClientId { get; set; }
  Property Value
| Type | Description | 
|---|---|
| string | Client Id  | 
      
Implementation
DEPRECATED: Which implementation to use in the authenticator (optional)
Declaration
public AuthenticatorConfig.AuthenticatorImplementation Implementation { get; set; }
  Property Value
| Type | Description | 
|---|---|
| AuthenticatorConfig.AuthenticatorImplementation | 
MinTtl
Minimum time-to-live for the token in seconds (optional)
Declaration
public int MinTtl { get; set; }
  Property Value
| Type | Description | 
|---|---|
| int | Minimum TTL  | 
      
Resource
Resource (optional, only valid for Basic implementation)
Declaration
public string? Resource { get; set; }
  Property Value
| Type | Description | 
|---|---|
| string | Secret  | 
      
Scopes
Resource scopes
Declaration
public ListOrSpaceSeparated? Scopes { get; set; }
  Property Value
| Type | Description | 
|---|---|
| ListOrSpaceSeparated | Scope  | 
      
Secret
The client secret
Declaration
public string? Secret { get; set; }
  Property Value
| Type | Description | 
|---|---|
| string | Secret  | 
      
Tenant
The directory tenant. Either this or TokenUrl must be set.
Declaration
public string? Tenant { get; set; }
  Property Value
| Type | Description | 
|---|---|
| string | Tenant  | 
      
TokenUrl
URL to fetch tokens from. Either this or Auhtority / Tenant must be set.
Declaration
public string? TokenUrl { get; set; }
  Property Value
| Type | Description | 
|---|---|
| string | Tenant  |