UNPKG

digital-payments-sdk

Version:

The APIs detailed within this SDK will enable Shell's Fleet Solutions Customers to digitalize Shell Card/s and use them to pay to refuel their vehicles at Shell Stations.

26 lines (25 loc) 1.59 kB
/** * Shell SmartPay APILib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { ApiResponse, RequestOptions } from '../core'; import { AccessTokenResponse } from '../models/accessTokenResponse'; import { BaseController } from './baseController'; export declare class ShellAPIPlatformSecurityAuthenticationController extends BaseController { /** * To obtain APIGEE access token * * @param grantType In OAuth 2.0, the term grant typee refers to the way an application gets an access * token. OAuth 2.0 defines several grant types, including the authorization code flow. * @param clientId After registering your app, you will receive a client ID and a client secret. The * client ID is considered public information, and is used to build login URLs, or * included in Javascript source code on a page. * @param clientSecret After registering your app, you will receive a client ID and a client secret. The * client ID is considered public information, and is used to build login URLs, or * included in Javascript source code on a page. The client secret must be kept * confidential. * @return Response from the API call */ oauthTokenPost(grantType: string, clientId: string, clientSecret: string, requestOptions?: RequestOptions): Promise<ApiResponse<AccessTokenResponse>>; }