Package sh.ory.model
Class SuccessfulSelfServiceRegistrationWithoutBrowser
java.lang.Object
sh.ory.model.SuccessfulSelfServiceRegistrationWithoutBrowser
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-04-19T11:31:27.587817519Z[Etc/UTC]") public class SuccessfulSelfServiceRegistrationWithoutBrowser extends Object
The Response for Registration Flows via API
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_IDENTITYstatic StringSERIALIZED_NAME_SESSIONstatic StringSERIALIZED_NAME_SESSION_TOKEN -
Constructor Summary
Constructors Constructor Description SuccessfulSelfServiceRegistrationWithoutBrowser() -
Method Summary
Modifier and Type Method Description booleanequals(Object o)IdentitygetIdentity()Get identitySessiongetSession()Get sessionStringgetSessionToken()The Session Token This field is only set when the session hook is configured as a post-registration hook.inthashCode()SuccessfulSelfServiceRegistrationWithoutBrowseridentity(Identity identity)SuccessfulSelfServiceRegistrationWithoutBrowsersession(Session session)SuccessfulSelfServiceRegistrationWithoutBrowsersessionToken(String sessionToken)voidsetIdentity(Identity identity)voidsetSession(Session session)voidsetSessionToken(String sessionToken)StringtoString()
-
Field Details
-
SERIALIZED_NAME_IDENTITY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SESSION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SESSION_TOKEN
- See Also:
- Constant Field Values
-
-
Constructor Details
-
SuccessfulSelfServiceRegistrationWithoutBrowser
public SuccessfulSelfServiceRegistrationWithoutBrowser()
-
-
Method Details
-
identity
-
getIdentity
Get identity- Returns:
- identity
-
setIdentity
-
session
-
getSession
Get session- Returns:
- session
-
setSession
-
sessionToken
-
getSessionToken
The Session Token This field is only set when the session hook is configured as a post-registration hook. A session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization Header: Authorization: bearer ${session-token} The session token is only issued for API flows, not for Browser flows!- Returns:
- sessionToken
-
setSessionToken
-
equals
-
hashCode
public int hashCode() -
toString
-