Type parameters
-
K: string = "code" | "state"
Constructors
constructor
-
Type parameters
-
K: string = "code" | "state"
Parameters
Properties
Private Readonly _qsParseArgs
Private Readonly _qsStringifyArgs
consumerKeys
consumerKeys: K[]
Optional mode
mode: "hash" | "history"
Accessors
Private hasAuthParams
- get hasAuthParams(): boolean
isHashMode
- get isHashMode(): boolean
isHistoryMode
- get isHistoryMode(): boolean
originalUrl
- get originalUrl(): string
Methods
Private _stringify
- _stringify(obj: any): string
-
Parameters
Returns string
getAuthParams
- getAuthParams(): undefined | ParamsObject<K>
-
Returns undefined | ParamsObject<K>
返回oauth回调参数
getOriginalUrl
- getOriginalUrl(uri: string | URL): string
-
Parameters
Returns string
oauth授权回调页面参数处理 浏览器端才能用