D1 OAuth API
ヘッダーパラメータ
authorizationstring必須Example:
The authorization header includes a client secret in base64URL encoded format following this syntax: Basic "[clientId:client secret]" as per https://www.rfc-editor.org/rfc/rfc2617
Basic aXNfdGJhbmswMToxMjM=本文
grant_typestring · enum必須可能な値:
scopestringオプション
Access request scope as optionally defined by the issuer
レスポンス
200
Default allowed response
application/json
access_tokenstring読み取り専用必須Example:
The access token issued by the authorization server
ey...HRT6LOON7wexpires_instring読み取り専用オプションExample:
Remaining time in seconds for the access_token to expire.
900scopestring読み取り専用オプション
Scope of the access_token.
token_typeundefined · enum必須Example:
Type of the access_token that will be used to call Issuer APIs.
Bearer可能な値: expires_atstring読み取り専用オプションExample:
Access token expiration timestamp
2023-06-06T05:05:59.711Z400
Bad request
post
/oauth2/token最終更新
役に立ちましたか?