Class TokenRequestOptions
java.lang.Object
com.revetsec.oauth.TokenRequestOptions
Scope, resource and additional form options for one token request. An absent scope set means the refresh request
omits scope; it does not inherit client defaults. A caller refreshing a token must request only a subset of the
original grant because this object does not know that grant.
- Since:
- 1.0.0
- Author:
- Mark Allen
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classMutable builder for one token request. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Starts a builder with no scope override or resources.Returns additional nonreserved form parameters.Returns ordered RFC 8707 resource indicators.Returns the complete requested scope set if explicitly supplied.
-
Method Details
-
builder
Starts a builder with no scope override or resources.- Returns:
- builder
- Since:
- 1.0.0
-
getScopes
-
getResources
Returns ordered RFC 8707 resource indicators.- Returns:
- resources
- Since:
- 1.0.0
-
getAdditionalParameters
-