Show / Hide Table of Contents

Class ClientCertificateConfig

Configuration for authenticating using a client certificate.

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

Properties

| Edit this page View Source

AuthorityUrl

Authority URL, required.

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

ClientId

The application (client) Id. Required.

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

Client Id

| Edit this page View Source

Password

Certificate password.

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

Path

Path to base 64 encoded x509 certificate, required.

Declaration
public string? Path { get; set; }
Property Value
Type Description
string
| 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

Type

Authentication type

Declaration
public override string Type { get; set; }
Property Value
Type Description
string
Overrides
BaseAuthenticationConfig.Type

Methods

| Edit this page View Source

GetAuthenticator(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.

Overrides
BaseAuthenticationConfig.GetAuthenticator(IServiceProvider)

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