All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.fusionauth.domain.api.jwt.JWTRefreshResponse Maven / Gradle / Ivy

There is a newer version: 1.53.0
Show newest version
/*
 * Copyright (c) 2018-2022, FusionAuth, All Rights Reserved
 */
package io.fusionauth.domain.api.jwt;

import java.util.UUID;

import com.inversoft.json.JacksonConstructor;

/**
 * API response for refreshing a JWT with a Refresh Token.
 * 

* Using a different response object from RefreshTokenResponse because the retrieve response will return an object for refreshToken, and this is a * string. * * @author Daniel DeGroff */ public class JWTRefreshResponse implements RefreshResponse { public String refreshToken; public UUID refreshTokenId; public String token; @JacksonConstructor public JWTRefreshResponse() { } public JWTRefreshResponse(UUID refreshTokenId, String refreshToken, String token) { this.refreshTokenId = refreshTokenId; this.refreshToken = refreshToken; this.token = token; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy