Package com.okta.sdk.resource.model
Class OpenIdConnectApplicationSettingsRefreshToken
java.lang.Object
com.okta.sdk.resource.model.OpenIdConnectApplicationSettingsRefreshToken
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-09-23T16:19:57.008753975Z[Etc/UTC]",
comments="Generator version: 7.8.0")
public class OpenIdConnectApplicationSettingsRefreshToken
extends Object
implements Serializable
Refresh token configuration for an OAuth 2.0 client When you create or update an OAuth 2.0 client, you can configure
refresh token rotation by setting the `rotation_type` and `leeway` properties. If you don't
set these properties when you create an app integration, the default values are used. When you update an app
integration, your previously configured values are used.
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
The leeway, in seconds, allowed for the OAuth 2.0 client.Get rotationTypeint
hashCode()
rotationType
(OpenIdConnectRefreshTokenRotationType rotationType) void
void
setRotationType
(OpenIdConnectRefreshTokenRotationType rotationType) toString()
-
Field Details
-
JSON_PROPERTY_LEEWAY
- See Also:
-
JSON_PROPERTY_ROTATION_TYPE
- See Also:
-
-
Constructor Details
-
OpenIdConnectApplicationSettingsRefreshToken
public OpenIdConnectApplicationSettingsRefreshToken()
-
-
Method Details
-
leeway
-
getLeeway
The leeway, in seconds, allowed for the OAuth 2.0 client. After the refresh token is rotated, the previous token remains valid for the specified period of time so clients can get the new token. > **Note:** A leeway of 0 doesn't necessarily mean that the previous token is immediately invalidated. The previous token is invalidated after the new token is generated and returned in the response. minimum: 0 maximum: 60- Returns:
- leeway
-
setLeeway
-
rotationType
public OpenIdConnectApplicationSettingsRefreshToken rotationType(OpenIdConnectRefreshTokenRotationType rotationType) -
getRotationType
Get rotationType- Returns:
- rotationType
-
setRotationType
-
equals
-
hashCode
public int hashCode() -
toString
-