Interface AuthTokenParameters

获取token的参数

Hierarchy

  • AuthTokenParameters

Properties

auth_style: AuthStye

how to place the client id and client secret parameters when initial a request to obtain a token, in header or in url params.

client_id: string

client id

client_secret: string

client secret 此为敏感信息,请不要在源代码中直接写明文。

code: string

the code returned by the first step request

opts?: Dict

options

redirect_url: string

redirect url

scopes?: string[]

authorization scopes

state?: string

state

token_url: string

apply for the address of the token from the oauth server