Skip to content
This repository was archived by the owner on Jul 16, 2024. It is now read-only.

Latest commit

 

History

History
212 lines (111 loc) · 4.66 KB

File metadata and controls

212 lines (111 loc) · 4.66 KB

QIWI SDK / Modules / index / <internal> / WalletOauthApi

Class: WalletOauthApi

index..WalletOauthApi

Доступ к API QIWI Кошелька

Документация QIWI

Export

Hierarchy

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new WalletOauthApi(options)

Creates an instance of OptionsWrapper.

Memberof

OptionsWrapper

Parameters

Name Type
options WalletApiOptions

Inherited from

WalletApi.constructor

Defined in

apis/options-wrapper.ts:23

Properties

_http

Protected Readonly _http: SimpleJsonHttp

Defined in

apis/wallet/oauth.api.ts:25


_options

Protected Readonly _options: WalletApiOptions

Memberof

OptionsWrapper

Inherited from

WalletApi._options

Defined in

apis/options-wrapper.ts:16


CLIENT_ID

Static Readonly CLIENT_ID: "api_wallet_private"

Defined in

apis/wallet/oauth.api.ts:21


CLIENT_SECRET

Static Readonly CLIENT_SECRET: "hTFPyt"

Defined in

apis/wallet/oauth.api.ts:22


CLIENT_SOFTWARE

Static Readonly CLIENT_SOFTWARE: "api"

Defined in

apis/wallet/oauth.api.ts:23

Accessors

http

Protected get http(): SimpleJsonHttp

Memberof

ApiSubclass

Returns

SimpleJsonHttp

Inherited from

WalletApi.http

Defined in

apis/api.ts:55


walletId

Protected get walletId(): string

Memberof

WalletApi

Returns

string

Inherited from

WalletApi.walletId

Defined in

apis/wallet/api.ts:17

Methods

_getHttp

Protected _getHttp(): SimpleJsonHttp

Memberof

WalletOauthApi

Returns

SimpleJsonHttp

Defined in

apis/wallet/oauth.api.ts:34


createToken

createToken(): Promise<ShortTokenResponse>

Выпуск OAuth-токена

Создаёт токен с увеличенным сроком действия (10 лет)

Документация

Memberof

WalletOauthApi

Returns

Promise<ShortTokenResponse>

Promise<PrettyTokenResponse>

Defined in

apis/wallet/oauth.api.ts:59