diff --git a/docs/src/docs/asciidoc/core-model-components.adoc b/docs/src/docs/asciidoc/core-model-components.adoc index 6bf23d8a..d3487d15 100644 --- a/docs/src/docs/asciidoc/core-model-components.adoc +++ b/docs/src/docs/asciidoc/core-model-components.adoc @@ -163,8 +163,9 @@ public class OAuth2Authorization implements Serializable { private String registeredClientId; <2> private String principalName; <3> private AuthorizationGrantType authorizationGrantType; <4> - private Map, Token> tokens; <5> - private Map attributes; <6> + private Set authorizedScopes; <5> + private Map, Token> tokens; <6> + private Map attributes; <7> ... @@ -174,8 +175,9 @@ public class OAuth2Authorization implements Serializable { <2> `registeredClientId`: The ID that uniquely identifies the <>. <3> `principalName`: The principal name of the resource owner (or client). <4> `authorizationGrantType`: The `AuthorizationGrantType` used. -<5> `tokens`: The `OAuth2Token` instances (and associated metadata) specific to the executed authorization grant type. -<6> `attributes`: The additional attributes specific to the executed authorization grant type – for example, the authenticated `Principal`, `OAuth2AuthorizationRequest`, authorized scope(s), and others. +<5> `authorizedScopes`: The `Set` of scope(s) authorized for the client. +<6> `tokens`: The `OAuth2Token` instances (and associated metadata) specific to the executed authorization grant type. +<7> `attributes`: The additional attributes specific to the executed authorization grant type – for example, the authenticated `Principal`, `OAuth2AuthorizationRequest`, and others. `OAuth2Authorization` and its associated `OAuth2Token` instances have a set lifespan. A newly issued `OAuth2Token` is active and becomes inactive when it either expires or is invalidated (revoked).