Class AccessGrant
This class contains the result of a successful access grant request in the Grant Negotiation and Authorization Protocol (GNAP). It includes the access token that can be used to access protected resources, and optionally continuation information for future interactions.
An access grant is the successful outcome of an authorization flow where the client has been granted permission to access specific resources on behalf of a resource owner. The grant includes both immediate access credentials and information for maintaining or extending that access.
- Since:
- 1.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe access token granted by the authorization server.Optional continuation information for future interactions. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
access
The access token granted by the authorization server.This token contains the credentials that the client can use to access protected resources. It includes the token value, expiration information, and the scope of access that has been granted.
The access token is typically used in the Authorization header of HTTP requests to authenticate and authorize API calls.
- See Also:
-
accessContinue
Optional continuation information for future interactions.When present, this field provides information that the client can use to continue the access request in the future. This might be used for token refresh, access extension, or other follow-up operations as defined by the authorization server.
If not present, the client should treat this as a final grant with no continuation capabilities.
- See Also:
-
-
Constructor Details
-
AccessGrant
public AccessGrant()
-