ru.foodtechlab.lib.auth.service.domain.token.exception.RefreshTokenExpiredException Maven / Gradle / Ivy
package ru.foodtechlab.lib.auth.service.domain.token.exception;
import com.rcore.domain.commons.exception.BadRequestDomainException;
import ru.foodtechlab.lib.auth.service.domain.Domain;
public class RefreshTokenExpiredException extends BadRequestDomainException {
public RefreshTokenExpiredException(String id) {
super(new Error(
Domain.REFRESH_TOKEN,
TokenErrorReason.REFRESH_TOKEN_IS_EXPIRED.name(),
"Refresh token " + id + " is expired"
));
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy