Package io.jans.as.server.token.ws.rs
Class TokenCreatorService
- java.lang.Object
-
- io.jans.as.server.token.ws.rs.TokenCreatorService
-
@Named public class TokenCreatorService extends Object
- Author:
- Yuriy Z
-
-
Constructor Summary
Constructors Constructor Description TokenCreatorService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable RefreshToken
createRefreshToken(@NotNull ExecutionContext executionContext, @NotNull String scope)
jakarta.ws.rs.core.Response.ResponseBuilder
error(int status, io.jans.as.model.token.TokenErrorResponseType type, String reason)
boolean
isRefreshTokenAllowed(io.jans.as.common.model.registration.Client client, String requestedScope, AbstractAuthorizationGrant grant)
-
-
-
Method Detail
-
isRefreshTokenAllowed
public boolean isRefreshTokenAllowed(io.jans.as.common.model.registration.Client client, String requestedScope, AbstractAuthorizationGrant grant)
-
createRefreshToken
@Nullable public @Nullable RefreshToken createRefreshToken(@NotNull @NotNull ExecutionContext executionContext, @NotNull @NotNull String scope)
-
error
public jakarta.ws.rs.core.Response.ResponseBuilder error(int status, io.jans.as.model.token.TokenErrorResponseType type, String reason)
-
-