confluent-kafka-dotnet
Show / Hide Table of Contents

Class BearerAuthenticationHeaderValueProvider

Inheritance
object
BearerAuthenticationHeaderValueProvider
Implements
IAuthenticationBearerHeaderValueProvider
IAuthenticationHeaderValueProvider
IDisposable
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Confluent.SchemaRegistry
Assembly: Confluent.SchemaRegistry.dll
Syntax
public class BearerAuthenticationHeaderValueProvider : IAuthenticationBearerHeaderValueProvider, IAuthenticationHeaderValueProvider, IDisposable

Constructors

BearerAuthenticationHeaderValueProvider(HttpClient, string, string, string, string, string, string, int, int, int)

Declaration
public BearerAuthenticationHeaderValueProvider(HttpClient httpClient, string clientId, string clientSecret, string scope, string tokenEndpoint, string logicalCluster, string identityPool, int maxRetries, int retriesWaitMs, int retriesMaxWaitMs)
Parameters
TypeNameDescription
HttpClienthttpClient
stringclientId
stringclientSecret
stringscope
stringtokenEndpoint
stringlogicalCluster
stringidentityPool
intmaxRetries
intretriesWaitMs
intretriesMaxWaitMs

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Declaration
public void Dispose()

GetAuthenticationHeader()

Get the authentication header for HTTP requests

Declaration
public AuthenticationHeaderValue GetAuthenticationHeader()
Returns
TypeDescription
AuthenticationHeaderValue

The authentication header for HTTP request messages

GetIdentityPool()

Get the identity pool for HTTP requests

Declaration
public string GetIdentityPool()
Returns
TypeDescription
string

The identity pool for HTTP request messages

GetLogicalCluster()

Get the logical cluster for HTTP requests

Declaration
public string GetLogicalCluster()
Returns
TypeDescription
string

The logical cluster for HTTP request messages

InitOrRefreshAsync()

Declaration
public Task InitOrRefreshAsync()
Returns
TypeDescription
Task

NeedsInitOrRefresh()

Declaration
public bool NeedsInitOrRefresh()
Returns
TypeDescription
bool

Implements

IAuthenticationBearerHeaderValueProvider
IAuthenticationHeaderValueProvider
IDisposable
In this article