card-management-sdk
Version:
The Shell Card Management API is REST-based and employs OAUTH 2.0,Basic and ApiKey authentication. The API endpoints accept JSON-encoded request bodies, return JSON-encoded responses and use standard HTTP response codes. All resources are located in the S
19 lines (18 loc) • 785 B
TypeScript
/**
* Shell Card Management APIsLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { ApiResponse, RequestOptions } from '../core';
import { OAuthToken } from '../models/oAuthToken';
import { BaseController } from './baseController';
export declare class OAuthAuthorizationController extends BaseController {
/**
* Create a new OAuth 2 token.
*
* @param authorization Authorization header in Basic auth format
* @param scope Requested scopes as a space-delimited list.
* @return Response from the API call
*/
requestTokenBearerToken(authorization: string, scope?: string, fieldParameters?: Record<string, unknown>, requestOptions?: RequestOptions): Promise<ApiResponse<OAuthToken>>;
}