import { Authentication } from "../operationsInterfaces/index.js"; import { GeneratedClient } from "../generatedClient.js"; import { PostContentSchemaGrantType, AuthenticationExchangeAadAccessTokenForAcrRefreshTokenOptionalParams, AuthenticationExchangeAadAccessTokenForAcrRefreshTokenResponse, TokenGrantType, AuthenticationExchangeAcrRefreshTokenForAcrAccessTokenOptionalParams, AuthenticationExchangeAcrRefreshTokenForAcrAccessTokenResponse } from "../models/index.js"; /** Class containing Authentication operations. */ export declare class AuthenticationImpl implements Authentication { private readonly client; /** * Initialize a new instance of the class Authentication class. * @param client Reference to the service client */ constructor(client: GeneratedClient); /** * Exchange AAD tokens for an ACR refresh Token * @param grantType Can take a value of access_token_refresh_token, or access_token, or refresh_token * @param service Indicates the name of your Azure container registry. * @param options The options parameters. */ exchangeAadAccessTokenForAcrRefreshToken(grantType: PostContentSchemaGrantType, service: string, options?: AuthenticationExchangeAadAccessTokenForAcrRefreshTokenOptionalParams): Promise; /** * Exchange ACR Refresh token for an ACR Access Token * @param service Indicates the name of your Azure container registry. * @param scope Which is expected to be a valid scope, and can be specified more than once for multiple * scope requests. You obtained this from the Www-Authenticate response header from the challenge. * @param refreshToken Must be a valid ACR refresh token * @param grantType Grant type is expected to be refresh_token * @param options The options parameters. */ exchangeAcrRefreshTokenForAcrAccessToken(service: string, scope: string, refreshToken: string, grantType: TokenGrantType, options?: AuthenticationExchangeAcrRefreshTokenForAcrAccessTokenOptionalParams): Promise; } //# sourceMappingURL=authentication.d.ts.map