confluent-kafka-dotnet
Show / Hide Table of Contents

Class StaticBearerAuthenticationHeaderValueProvider

Inheritance
object
StaticBearerAuthenticationHeaderValueProvider
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 StaticBearerAuthenticationHeaderValueProvider : IAuthenticationBearerHeaderValueProvider, IAuthenticationHeaderValueProvider, IDisposable

Constructors

StaticBearerAuthenticationHeaderValueProvider(string, string, string)

Declaration
public StaticBearerAuthenticationHeaderValueProvider(string token, string logicalCluster, string identityPool)
Parameters
Type Name Description
string token
string logicalCluster
string identityPool

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
Type Description
AuthenticationHeaderValue

The authentication header for HTTP request messages

GetIdentityPool()

Get the identity pool for HTTP requests

Declaration
public string GetIdentityPool()
Returns
Type Description
string

The identity pool for HTTP request messages

GetLogicalCluster()

Get the logical cluster for HTTP requests

Declaration
public string GetLogicalCluster()
Returns
Type Description
string

The logical cluster for HTTP request messages

InitOrRefreshAsync()

Declaration
public Task InitOrRefreshAsync()
Returns
Type Description
Task

NeedsInitOrRefresh()

Declaration
public bool NeedsInitOrRefresh()
Returns
Type Description
bool

Implements

IAuthenticationBearerHeaderValueProvider
IAuthenticationHeaderValueProvider
IDisposable
In this article