Package com.inrupt.client.uma
Class NeedInfo
java.lang.Object
com.inrupt.client.uma.NeedInfo
A class representing a
need_info
error response from an UMA server.-
Method Summary
Modifier and TypeMethodDescriptionReturn an optional redirect URI.Return a list of required claims.Return the ticket to be used when continuing this flow.ofErrorResponse
(ErrorResponse error) Create an optionalNeedInfo
object from anErrorResponse
.
-
Method Details
-
getRequiredClaims
Return a list of required claims.- Returns:
- the required claims, never
null
-
getRedirectUser
Return an optional redirect URI.- Returns:
- a user redirection URI
-
getTicket
Return the ticket to be used when continuing this flow.- Returns:
- the UMA ticket
-
ofErrorResponse
Create an optionalNeedInfo
object from anErrorResponse
.- Parameters:
error
- the error response- Returns:
- the optional
need_info
data
-