reportInvalidClient(new OAuthError(OAuthConstants.INVALID_CLIENT));
}
protected void reportInvalidClient(OAuthError error) {
ResponseBuilder rb = Response.status(401);
throw new NotAuthorizedException(rb.type(MediaType.APPLICATION_JSON_TYPE).entity(error).build());
}
public void setCanSupportPublicClients(boolean support) {
this.canSupportPublicClients = support;
}