UNPKG

snowflake-sdk

Version:
38 lines (37 loc) 852 B
export = AuthWeb; /** * Creates an external browser authenticator. * * @param {Object} connectionConfig * @param {Object} httpClient * * @returns {Object} * @constructor */ declare function AuthWeb(connectionConfig: Object, httpClient: Object): Object; declare class AuthWeb { /** * Creates an external browser authenticator. * * @param {Object} connectionConfig * @param {Object} httpClient * * @returns {Object} * @constructor */ constructor(connectionConfig: Object, httpClient: Object); /** * Update JSON body with token and proof_key. * * @param {JSON} body * * @returns {null} */ updateBody: (body: JSON) => null; /** * Obtain SAML token through SSO URL. * * @returns {Promise<null>} */ authenticate: () => Promise<null>; }