Class OAuth2AuthorizationConsent

java.lang.Object
org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationConsent
All Implemented Interfaces:
Serializable

public final class OAuth2AuthorizationConsent extends Object implements Serializable
A representation of an OAuth 2.0 "consent" to an Authorization request, which holds state related to the set of authorities granted to a client by the resource owner.

When authorizing access for a given client, the resource owner may only grant a subset of the authorities the client requested. The typical use-case is the authorization_code flow, in which the client requests a set of scopes. The resource owner then selects which scopes they grant to the client.

Since:
0.1.2
See Also: