OAuth Authorize Params
constructor(clientId: String, redirectUri: String, state: String? = null, scope: String? = null, responseType: String = "code", codeChallenge: String? = null, codeChallengeMethod: String? = null)
Parameters
client Id
应用 ID(格式 vap_xxxx),SDK 统一使用 clientId 命名,与 VDS 文档中的 appId 等价
redirect Uri
授权后重定向 URI
state
可选的状态参数,用于防止 CSRF 攻击
scope
可选的权限范围
response Type
响应类型,默认为 "code"
code Challenge
可选的 PKCE code_challenge
code Challenge Method
可选的 PKCE code_challenge_method,默认为 "SHA256"