Polish ref-doc
Issue gh-1156
This commit is contained in:
@@ -173,7 +173,7 @@ public class JpaOAuth2AuthorizationService implements OAuth2AuthorizationService
|
||||
builder.token(userCode, metadata -> metadata.putAll(parseMap(entity.getUserCodeMetadata())));
|
||||
}
|
||||
|
||||
if (entity.getUserCodeValue() != null) {
|
||||
if (entity.getDeviceCodeValue() != null) {
|
||||
OAuth2DeviceCode deviceCode = new OAuth2DeviceCode(
|
||||
entity.getDeviceCodeValue(),
|
||||
entity.getDeviceCodeIssuedAt(),
|
||||
|
||||
@@ -185,7 +185,7 @@ include::code:ClientRepository[]
|
||||
[[authorization-repository]]
|
||||
=== Authorization Repository
|
||||
|
||||
The following listing shows the `AuthorizationRepository`, which is able to find an <<authorization-entity,`Authorization`>> by the `id` field as well as the `state`, `authorizationCodeValue`, `accessTokenValue` and `refreshTokenValue` token fields.
|
||||
The following listing shows the `AuthorizationRepository`, which is able to find an <<authorization-entity,`Authorization`>> by the `id` field as well as the `state`, `authorizationCodeValue`, `accessTokenValue`, `refreshTokenValue`, `userCodeValue` and `deviceCodeValue` token fields.
|
||||
It also allows querying a combination of token fields.
|
||||
|
||||
[[sample.jpa.repository.authorization]]
|
||||
|
||||
Reference in New Issue
Block a user