Package net.openid.appauth
Class AuthorizationManagementResponse
- java.lang.Object
-
- net.openid.appauth.AuthorizationManagementResponse
-
- Direct Known Subclasses:
AuthorizationResponse
,EndSessionResponse
public abstract class AuthorizationManagementResponse extends Object
A base response for session management modelsAuthorizationResponse
EndSessionResponse
-
-
Constructor Summary
Constructors Constructor Description AuthorizationManagementResponse()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract String
getState()
abstract JSONObject
jsonSerialize()
Produces a JSON representation of the request for persistent storage or local transmission (e.g.String
jsonSerializeString()
Produces a JSON representation of the end session response for persistent storage or local transmission (e.g.abstract Intent
toIntent()
-
-
-
Constructor Detail
-
AuthorizationManagementResponse
public AuthorizationManagementResponse()
-
-
Method Detail
-
jsonSerialize
public abstract JSONObject jsonSerialize()
Produces a JSON representation of the request for persistent storage or local transmission (e.g.between activities).
-
jsonSerializeString
@NonNull public String jsonSerializeString()
Produces a JSON representation of the end session response for persistent storage or local transmission (e.g.between activities). This method is just a convenience wrapper for
jsonSerialize()
, converting the JSON object to its string form.
-
-