File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed
oauth2-server-core/src/main/java/nl/myndocs/oauth2/response Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -3,13 +3,12 @@ package nl.myndocs.oauth2.response
33import nl.myndocs.oauth2.token.AccessToken
44
55object DefaultAccessTokenResponder : AccessTokenResponder {
6- override fun createResponse (accessToken : AccessToken ): Map <String , Any ?> =
7- with (accessToken) {
8- mapOf (
9- " access_token" to this .accessToken,
10- " token_type" to this .tokenType,
11- " expires_in" to this .expiresIn(),
12- " refresh_token" to this .refreshToken?.refreshToken
13- )
14- }
6+ override fun createResponse (accessToken : AccessToken ): Map <String , Any ?> = with (accessToken) {
7+ mapOf (
8+ " access_token" to this .accessToken,
9+ " token_type" to this .tokenType,
10+ " expires_in" to this .expiresIn(),
11+ " refresh_token" to this .refreshToken?.refreshToken
12+ )
13+ }
1514}
You can’t perform that action at this time.
0 commit comments