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
Returns
Task <WriteResult <AuthMethodEntry >>
Create(AuthMethodEntry, WriteOptions, CancellationToken)
Task<WriteResult<AuthMethodEntry>> Create(AuthMethodEntry authMethod, WriteOptions q, CancellationToken ct = default)
Parameters
authMethod
AuthMethodEntry
Returns
Task <WriteResult <AuthMethodEntry >>
Delete(string, CancellationToken)
Task<WriteResult<bool>> Delete(string id, CancellationToken ct = default)
Parameters
id
string
Returns
Task <WriteResult <bool >>
Delete(string, WriteOptions, CancellationToken)
Task<WriteResult<bool>> Delete(string id, WriteOptions q, CancellationToken ct = default)
Parameters
id
string
Returns
Task <WriteResult <bool >>
List(CancellationToken)
Task<QueryResult<AuthMethodEntry[]>> List(CancellationToken ct = default)
Parameters
Returns
Task <QueryResult <AuthMethodEntry []>>
List(QueryOptions, CancellationToken)
Task<QueryResult<AuthMethodEntry[]>> List(QueryOptions q, CancellationToken ct = default)
Parameters
Returns
Task <QueryResult <AuthMethodEntry []>>
Login(CancellationToken)
Task<WriteResult<TokenEntry>> Login(CancellationToken ct = default)
Parameters
Returns
Task <WriteResult <TokenEntry >>
Login(WriteOptions, CancellationToken)
Task<WriteResult<TokenEntry>> Login(WriteOptions q, CancellationToken ct = default)
Parameters
Returns
Task <WriteResult <TokenEntry >>
Logout(CancellationToken)
Task<WriteResult> Logout(CancellationToken ct = default)
Parameters
Returns
Task <WriteResult >
Logout(WriteOptions, CancellationToken)
Task<WriteResult> Logout(WriteOptions q, CancellationToken ct = default)
Parameters
Returns
Task <WriteResult >
Read(string, CancellationToken)
Task<QueryResult<AuthMethodEntry>> Read(string id, CancellationToken ct = default)
Parameters
id
string
Returns
Task <QueryResult <AuthMethodEntry >>
Read(string, QueryOptions, CancellationToken)
Task<QueryResult<AuthMethodEntry>> Read(string id, QueryOptions q, CancellationToken ct = default)
Parameters
id
string
Returns
Task <QueryResult <AuthMethodEntry >>
Update(AuthMethodEntry, CancellationToken)
Task<WriteResult<AuthMethodEntry>> Update(AuthMethodEntry authMethod, CancellationToken ct = default)
Parameters
authMethod
AuthMethodEntry
Returns
Task <WriteResult <AuthMethodEntry >>
Update(AuthMethodEntry, WriteOptions, CancellationToken)
Task<WriteResult<AuthMethodEntry>> Update(AuthMethodEntry authMethod, WriteOptions q, CancellationToken ct = default)
Parameters
authMethod
AuthMethodEntry