Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7685feb

Browse files
committed
impl: retrieve supported response type and the dynamic client registration url
OAuth endpoint `.well-known/oauth-authorization-server` provides metadata aboutthe endpoint for dynamic client registration and supported response types.This commit adds support for deserializing these values.
1 parent1a3415b commit7685feb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎src/main/kotlin/com/coder/toolbox/oauth/AuthorizationServer.kt‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ import com.squareup.moshi.JsonClass
77
data classAuthorizationServer(
88
@field:Json(name = "authorization_endpoint")valauthorizationEndpoint:String,
99
@field:Json(name = "token_endpoint")valtokenEndpoint:String,
10+
@field:Json(name = "registration_endpoint")valregistrationEndpoint:String,
11+
@property:Json(name = "response_types_supported")valsupportedResponseTypes:List<String>,
1012
@property:Json(name = "token_endpoint_auth_methods_supported")valauthMethodForTokenEndpoint:List<TokenEndpointAuthMethod>,
1113
)
1214

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp