Package org.keycloak.utils
Class OAuth2Error
java.lang.Object
org.keycloak.utils.OAuth2Error
- Author:
- Dmitry Telegin
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.WebApplicationException
build()
errorDescription
(String errorDescription) jakarta.ws.rs.WebApplicationException
insufficientScope
(String errorDescription) jakarta.ws.rs.WebApplicationException
invalidRequest
(String errorDescription) jakarta.ws.rs.WebApplicationException
invalidToken
(String errorDescription) json
(boolean json) realm
(RealmModel realm) status
(jakarta.ws.rs.core.Response.Status status) jakarta.ws.rs.WebApplicationException
-
Constructor Details
-
OAuth2Error
public OAuth2Error()
-
-
Method Details
-
realm
-
error
-
errorDescription
-
cors
-
status
-
json
-
build
public jakarta.ws.rs.WebApplicationException build() -
insufficientScope
-
invalidToken
-
invalidRequest
-
unauthorized
public jakarta.ws.rs.WebApplicationException unauthorized()
-