Add PBandGraphOauth scaffold and auth UI
This commit is contained in:
+51
@@ -0,0 +1,51 @@
|
||||
/**
|
||||
* -------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License.
|
||||
* See License in the project root for license information.
|
||||
* -------------------------------------------------------------------------------------------
|
||||
*/
|
||||
import { GraphRequest } from "./GraphRequest";
|
||||
import { ClientOptions } from "./IClientOptions";
|
||||
import { Options } from "./IOptions";
|
||||
export declare class Client {
|
||||
/**
|
||||
* @private
|
||||
* A member which stores the Client instance options
|
||||
*/
|
||||
private config;
|
||||
/**
|
||||
* @private
|
||||
* A member which holds the HTTPClient instance
|
||||
*/
|
||||
private httpClient;
|
||||
/**
|
||||
* @public
|
||||
* @static
|
||||
* To create a client instance with options and initializes the default middleware chain
|
||||
* @param {Options} options - The options for client instance
|
||||
* @returns The Client instance
|
||||
*/
|
||||
static init(options: Options): Client;
|
||||
/**
|
||||
* @public
|
||||
* @static
|
||||
* To create a client instance with the Client Options
|
||||
* @param {ClientOptions} clientOptions - The options object for initializing the client
|
||||
* @returns The Client instance
|
||||
*/
|
||||
static initWithMiddleware(clientOptions: ClientOptions): Client;
|
||||
/**
|
||||
* @private
|
||||
* @constructor
|
||||
* Creates an instance of Client
|
||||
* @param {ClientOptions} clientOptions - The options to instantiate the client object
|
||||
*/
|
||||
private constructor();
|
||||
/**
|
||||
* @public
|
||||
* Entry point to make requests
|
||||
* @param {string} path - The path string value
|
||||
* @returns The graph request instance
|
||||
*/
|
||||
api(path: string): GraphRequest;
|
||||
}
|
||||
Reference in New Issue
Block a user