Package sh.ory.hydra.model
Class ConsentRequestSession
- java.lang.Object
-
- sh.ory.hydra.model.ConsentRequestSession
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2021-01-12T16:13:57.119092Z[GMT]") public class ConsentRequestSession extends Object
ConsentRequestSession
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_ACCESS_TOKENstatic StringSERIALIZED_NAME_ID_TOKEN
-
Constructor Summary
Constructors Constructor Description ConsentRequestSession()
-
Method Summary
Modifier and Type Method Description ConsentRequestSessionaccessToken(Object accessToken)booleanequals(Object o)ObjectgetAccessToken()AccessToken sets session data for the access and refresh token, as well as any future tokens issued by the refresh grant.ObjectgetIdToken()IDToken sets session data for the OpenID Connect ID token.inthashCode()ConsentRequestSessionidToken(Object idToken)voidsetAccessToken(Object accessToken)voidsetIdToken(Object idToken)StringtoString()
-
-
-
Field Detail
-
SERIALIZED_NAME_ACCESS_TOKEN
public static final String SERIALIZED_NAME_ACCESS_TOKEN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ID_TOKEN
public static final String SERIALIZED_NAME_ID_TOKEN
- See Also:
- Constant Field Values
-
-
Method Detail
-
accessToken
public ConsentRequestSession accessToken(Object accessToken)
-
getAccessToken
@Nullable public Object getAccessToken()
AccessToken sets session data for the access and refresh token, as well as any future tokens issued by the refresh grant. Keep in mind that this data will be available to anyone performing OAuth 2.0 Challenge Introspection. If only your services can perform OAuth 2.0 Challenge Introspection, this is usually fine. But if third parties can access that endpoint as well, sensitive data from the session might be exposed to them. Use with care!- Returns:
- accessToken
-
setAccessToken
public void setAccessToken(Object accessToken)
-
idToken
public ConsentRequestSession idToken(Object idToken)
-
getIdToken
@Nullable public Object getIdToken()
IDToken sets session data for the OpenID Connect ID token. Keep in mind that the session'id payloads are readable by anyone that has access to the ID Challenge. Use with care!- Returns:
- idToken
-
setIdToken
public void setIdToken(Object idToken)
-
-