Show / Hide Table of Contents

Class BaseAuthenticationConfig

Base class for authenticator alternatives.

Inheritance
object
BaseAuthenticationConfig
ClientCertificateConfig
ClientCredentialsConfig
Inherited Members
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 abstract class BaseAuthenticationConfig

Properties

| Edit this page View Source

Type

Authentication type

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

Methods

| Edit this page View Source

GetAuthenticator(IServiceProvider)

Create an authenticator using this configuration object.

Declaration
public abstract IAuthenticator GetAuthenticator(IServiceProvider provider)
Parameters
Type Name Description
IServiceProvider provider

Service provider, must contain an HTTP client.

Returns
Type Description
IAuthenticator

Authenticator.

| Edit this page View Source

Variants()

Get a map from discriminator value to type for this union.

Declaration
public static IDictionary<string, Type> Variants()
Returns
Type Description
IDictionary<string, Type>

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