public class OAuth2NotAuthorizedException extends WWWChallengeException
KangarooException.ErrorCode| Modifier and Type | Field and Description |
|---|---|
static KangarooException.ErrorCode |
CODE
The error code for this exception.
|
| Constructor and Description |
|---|
OAuth2NotAuthorizedException(javax.ws.rs.core.UriInfo requestInfo,
String[] requiredScopes)
Create a new exception with the specified error code.
|
getRealm, getRequiredScopesgetCodeaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final KangarooException.ErrorCode CODE
public OAuth2NotAuthorizedException(javax.ws.rs.core.UriInfo requestInfo,
String[] requiredScopes)
requestInfo - The original URI request, from which we're
going to derive our realm.requiredScopes - A list of required scopes.Copyright © 2018 krotscheck.net. All rights reserved.