Package sh.ory.model
Class LogoutFlow
java.lang.Object
sh.ory.model.LogoutFlow
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-11-28T09:00:20.924958308Z[Etc/UTC]") public class LogoutFlow extends Object
Logout Flow
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LogoutFlow.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>
openapiFields
static HashSet<String>
openapiRequiredFields
static String
SERIALIZED_NAME_LOGOUT_TOKEN
static String
SERIALIZED_NAME_LOGOUT_URL
-
Constructor Summary
Constructors Constructor Description LogoutFlow()
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
static LogoutFlow
fromJson(String jsonString)
Create an instance of LogoutFlow given an JSON stringString
getLogoutToken()
LogoutToken can be used to perform logout using AJAX.String
getLogoutUrl()
LogoutURL can be opened in a browser to sign the user out.int
hashCode()
LogoutFlow
logoutToken(String logoutToken)
LogoutFlow
logoutUrl(String logoutUrl)
void
setLogoutToken(String logoutToken)
void
setLogoutUrl(String logoutUrl)
String
toJson()
Convert an instance of LogoutFlow to an JSON stringString
toString()
static void
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_LOGOUT_TOKEN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LOGOUT_URL
- See Also:
- Constant Field Values
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
LogoutFlow
public LogoutFlow()
-
-
Method Details
-
logoutToken
-
getLogoutToken
LogoutToken can be used to perform logout using AJAX.- Returns:
- logoutToken
-
setLogoutToken
-
logoutUrl
-
getLogoutUrl
LogoutURL can be opened in a browser to sign the user out. format: uri- Returns:
- logoutUrl
-
setLogoutUrl
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj
- JSON Object- Throws:
IOException
- if the JSON Object is invalid with respect to LogoutFlow
-
fromJson
Create an instance of LogoutFlow given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of LogoutFlow
- Throws:
IOException
- if the JSON string is invalid with respect to LogoutFlow
-
toJson
Convert an instance of LogoutFlow to an JSON string- Returns:
- JSON string
-