/
authentication.ts
32 lines (30 loc) · 1.22 KB
/
authentication.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
import {
AuthenticationExchangeAadAccessTokenForAcrRefreshTokenOptionalParams,
AuthenticationExchangeAadAccessTokenForAcrRefreshTokenResponse,
AuthenticationExchangeAcrRefreshTokenForAcrAccessTokenOptionalParams,
AuthenticationExchangeAcrRefreshTokenForAcrAccessTokenResponse
} from "../models";
/** Interface representing a Authentication. */
export interface Authentication {
/**
* Exchange AAD tokens for an ACR refresh Token
* @param options The options parameters.
*/
exchangeAadAccessTokenForAcrRefreshToken(
options?: AuthenticationExchangeAadAccessTokenForAcrRefreshTokenOptionalParams
): Promise<AuthenticationExchangeAadAccessTokenForAcrRefreshTokenResponse>;
/**
* Exchange ACR Refresh token for an ACR Access Token
* @param options The options parameters.
*/
exchangeAcrRefreshTokenForAcrAccessToken(
options?: AuthenticationExchangeAcrRefreshTokenForAcrAccessTokenOptionalParams
): Promise<AuthenticationExchangeAcrRefreshTokenForAcrAccessTokenResponse>;
}