Show / Hide Table of Contents

Class AuthenticatorConfig

Authenticator configuration. For more information, read the OAth 2.0 client credentials flow

Inheritance
object
AuthenticatorConfig
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Cognite.Extensions
Assembly: Cognite.Extensions.dll
Syntax
public class AuthenticatorConfig

Properties

| Edit this page View Source

Audience

Audience

Declaration
public string? Audience { get; set; }
Property Value
Type Description
string

Audience

| Edit this page View Source

Authority

Identity provider authority endpoint (optional)

Declaration
public string? Authority { get; set; }
Property Value
Type Description
string

URI

| Edit this page View Source

Certificate

Configuration for using certificate authentication.

Declaration
public CertificateConfig? Certificate { get; set; }
Property Value
Type Description
CertificateConfig
| Edit this page View Source

ClientId

The application (client) Id

Declaration
public string? ClientId { get; set; }
Property Value
Type Description
string

Client Id

| Edit this page View Source

Implementation

DEPRECATED: Which implementation to use in the authenticator (optional)

Declaration
public AuthenticatorConfig.AuthenticatorImplementation Implementation { get; set; }
Property Value
Type Description
AuthenticatorConfig.AuthenticatorImplementation
| Edit this page View Source

MinTtl

Minimum time-to-live for the token in seconds (optional)

Declaration
public int MinTtl { get; set; }
Property Value
Type Description
int

Minimum TTL

| Edit this page View Source

Resource

Resource (optional, only valid for Basic implementation)

Declaration
public string? Resource { get; set; }
Property Value
Type Description
string

Secret

| Edit this page View Source

Scopes

Resource scopes

Declaration
public ListOrSpaceSeparated? Scopes { get; set; }
Property Value
Type Description
ListOrSpaceSeparated

Scope

| Edit this page View Source

Secret

The client secret

Declaration
public string? Secret { get; set; }
Property Value
Type Description
string

Secret

| Edit this page View Source

Tenant

The directory tenant. Either this or TokenUrl must be set.

Declaration
public string? Tenant { get; set; }
Property Value
Type Description
string

Tenant

| Edit this page View Source

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

Extension Methods

DataModelUtils.GetOrCreateResourcesAsync<T, T2>(T2, IEnumerable<InstanceIdentifier>, Func<IEnumerable<InstanceIdentifier>, IEnumerable<SourcedNodeWrite<T>>>, Func<IEnumerable<SourcedNodeWrite<T>>, SanitationMode, (IEnumerable<SourcedNodeWrite<T>>, IEnumerable<CogniteError<SourcedNodeWrite<T>>>)>, int, int, RetryMode, SanitationMode, CancellationToken)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX