Package com.inrupt.client.accessgrant
Class AccessRequest.RequestParameters
java.lang.Object
com.inrupt.client.accessgrant.AccessRequest.RequestParameters
- Enclosing class:
- AccessRequest
A collection of parameters used for creating access requests.
See, in particular, the AccessGrantClient.requestAccess(RequestParameters)
method.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
A class for building access request parameters. -
Method Summary
Modifier and TypeMethodDescriptionGet the requested expiration date used with an access request operation.Get the requested issuance date used with an access request operation.getModes()
Get the access modes used with an access request operation.Get the purpose identifiers used with an access request operation.Get the recipient used with an access request operation.Get the resources used with an access request operation.Create a newAccessRequest.RequestParameters
builder.
-
Method Details
-
getRecipient
Get the recipient used with an access request operation.Note: the recipient will typically be the resource owner
- Returns:
- the recipient's identifier
-
getResources
Get the resources used with an access request operation.- Returns:
- the resource idnetifiers
-
getModes
Get the access modes used with an access request operation.- Returns:
- the access modes
-
getPurposes
Get the purpose identifiers used with an access request operation.- Returns:
- the purpose identifiers
-
getExpiration
Get the requested expiration date used with an access request operation.Note: an access grant server may select a different expiration date
- Returns:
- the requested expiration date
-
getIssuedAt
Get the requested issuance date used with an access request operation.Note: an access grant server may select a different issuance date
- Returns:
- the requested issuance date
-
newBuilder
Create a newAccessRequest.RequestParameters
builder.- Returns:
- the new builder
-