객체
OAuthTokenRequest
application/x-www-form-urlencoded 폼의 필드(RFC 6749, 4.1.3절, 4.4.2절, 6절).
필드
grant_typestring필수허용 값:
authorization_coderefresh_tokenclient_credentialscodestring인가 코드(
authorization_code).redirect_uristring인가 요청과 같은 리다이렉트 URI(
authorization_code).code_verifierstring원래 PKCE 값, 43~128자(
authorization_code).refresh_tokenstring리프레시 토큰(
refresh_token).scopestring공백으로 구분한 스코프로, 좁히는 것만 가능해요(
refresh_token,client_credentials).client_idstringAuthorization: Basic헤더로 시크릿을 전달하지 않을 때의 앱 ID.client_secretstringAuthorization: Basic헤더로 전달하지 않을 때의confidential앱 클라이언트 시크릿.