Skip to main content

Interface IAuthMethodEndpoint

Namespace: Consul
Assembly: Consul.dll

The interface for the ACL Auth Method API Endpoints

public interface IAuthMethodEndpoint

Methods

Create(AuthMethodEntry, CancellationToken)

Task<WriteResult<AuthMethodEntry>> Create(AuthMethodEntry authMethod, CancellationToken ct = default)

Parameters

authMethod AuthMethodEntry

ct CancellationToken

Returns

Task <WriteResult <AuthMethodEntry >>

Create(AuthMethodEntry, WriteOptions, CancellationToken)

Task<WriteResult<AuthMethodEntry>> Create(AuthMethodEntry authMethod, WriteOptions q, CancellationToken ct = default)

Parameters

authMethod AuthMethodEntry

q WriteOptions

ct CancellationToken

Returns

Task <WriteResult <AuthMethodEntry >>

Delete(string, CancellationToken)

Task<WriteResult<bool>> Delete(string id, CancellationToken ct = default)

Parameters

id string

ct CancellationToken

Returns

Task <WriteResult <bool >>

Delete(string, WriteOptions, CancellationToken)

Task<WriteResult<bool>> Delete(string id, WriteOptions q, CancellationToken ct = default)

Parameters

id string

q WriteOptions

ct CancellationToken

Returns

Task <WriteResult <bool >>

List(CancellationToken)

Task<QueryResult<AuthMethodEntry[]>> List(CancellationToken ct = default)

Parameters

ct CancellationToken

Returns

Task <QueryResult <AuthMethodEntry []>>

List(QueryOptions, CancellationToken)

Task<QueryResult<AuthMethodEntry[]>> List(QueryOptions q, CancellationToken ct = default)

Parameters

q QueryOptions

ct CancellationToken

Returns

Task <QueryResult <AuthMethodEntry []>>

Login(CancellationToken)

Task<WriteResult<TokenEntry>> Login(CancellationToken ct = default)

Parameters

ct CancellationToken

Returns

Task <WriteResult <TokenEntry >>

Login(WriteOptions, CancellationToken)

Task<WriteResult<TokenEntry>> Login(WriteOptions q, CancellationToken ct = default)

Parameters

q WriteOptions

ct CancellationToken

Returns

Task <WriteResult <TokenEntry >>

Logout(CancellationToken)

Task<WriteResult> Logout(CancellationToken ct = default)

Parameters

ct CancellationToken

Returns

Task <WriteResult >

Logout(WriteOptions, CancellationToken)

Task<WriteResult> Logout(WriteOptions q, CancellationToken ct = default)

Parameters

q WriteOptions

ct CancellationToken

Returns

Task <WriteResult >

Read(string, CancellationToken)

Task<QueryResult<AuthMethodEntry>> Read(string id, CancellationToken ct = default)

Parameters

id string

ct CancellationToken

Returns

Task <QueryResult <AuthMethodEntry >>

Read(string, QueryOptions, CancellationToken)

Task<QueryResult<AuthMethodEntry>> Read(string id, QueryOptions q, CancellationToken ct = default)

Parameters

id string

q QueryOptions

ct CancellationToken

Returns

Task <QueryResult <AuthMethodEntry >>

Update(AuthMethodEntry, CancellationToken)

Task<WriteResult<AuthMethodEntry>> Update(AuthMethodEntry authMethod, CancellationToken ct = default)

Parameters

authMethod AuthMethodEntry

ct CancellationToken

Returns

Task <WriteResult <AuthMethodEntry >>

Update(AuthMethodEntry, WriteOptions, CancellationToken)

Task<WriteResult<AuthMethodEntry>> Update(AuthMethodEntry authMethod, WriteOptions q, CancellationToken ct = default)

Parameters

authMethod AuthMethodEntry

q WriteOptions

ct CancellationToken

Returns

Task <WriteResult <AuthMethodEntry >>

  • Methods
    • Create(AuthMethodEntry, CancellationToken)
    • Create(AuthMethodEntry, WriteOptions, CancellationToken)
    • Delete(string, CancellationToken)
    • Delete(string, WriteOptions, CancellationToken)
    • List(CancellationToken)
    • List(QueryOptions, CancellationToken)
    • Login(CancellationToken)
    • Login(WriteOptions, CancellationToken)
    • Logout(CancellationToken)
    • Logout(WriteOptions, CancellationToken)
    • Read(string, CancellationToken)
    • Read(string, QueryOptions, CancellationToken)
    • Update(AuthMethodEntry, CancellationToken)
    • Update(AuthMethodEntry, WriteOptions, CancellationToken)