Interface ISessionsClient
- Namespace
- Auth0.ManagementApi.Clients
- Assembly
- Auth0.ManagementApi.dll
public interface ISessionsClient
Methods
DeleteAsync(string, CancellationToken)
Delete a session by Id.
Task DeleteAsync(string id, CancellationToken cancellationToken = default)
Parameters
id
stringId of the session to delete.
cancellationToken
CancellationToken
Returns
GetAsync(SessionsGetRequest, CancellationToken)
Retrieve session information.
Task<Sessions> GetAsync(SessionsGetRequest request, CancellationToken cancellationToken = default)
Parameters
request
SessionsGetRequestcancellationToken
CancellationToken
Returns
RevokeAsync(string, CancellationToken)
Revokes a session by Id and all associated refresh tokens.
Task RevokeAsync(string id, CancellationToken cancellationToken = default)
Parameters
id
stringId of the session to revoke
cancellationToken
CancellationToken