/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
import { accessTokensIssueAccessToken } from "../funcs/accessTokensIssueAccessToken.js";
import { accessTokensListAccessTokens } from "../funcs/accessTokensListAccessTokens.js";
import { accessTokensRevokeAccessToken } from "../funcs/accessTokensRevokeAccessToken.js";
import { ClientSDK } from "../lib/sdks.js";
import { unwrapAsync } from "../types/fp.js";
export class AccessTokens extends ClientSDK {
    /**
     * List access tokens.
     */
    async listAccessTokens(request, options) {
        return unwrapAsync(accessTokensListAccessTokens(this, request, options));
    }
    /**
     * Issue a new access token.
     */
    async issueAccessToken(request, options) {
        return unwrapAsync(accessTokensIssueAccessToken(this, request, options));
    }
    /**
     * Revoke an access token.
     */
    async revokeAccessToken(request, options) {
        return unwrapAsync(accessTokensRevokeAccessToken(this, request, options));
    }
}
//# sourceMappingURL=accesstokens.js.map