Class OAuth2TokenValidatorResult
java.lang.Object
com.codename1.backend.security.oauth2.core.OAuth2TokenValidatorResult
What an
OAuth2TokenValidator found: nothing, or the errors.-
Method Summary
Modifier and TypeMethodDescriptionstatic OAuth2TokenValidatorResultfailure(OAuth2Error... errors) The token failed, for these reasons.static OAuth2TokenValidatorResultfailure(Collection<OAuth2Error> errors) The token failed, for these reasons; passed, when there are none.booleanstatic OAuth2TokenValidatorResultsuccess()The token passed.
-
Method Details
-
success
The token passed. -
failure
The token failed, for these reasons. -
failure
The token failed, for these reasons; passed, when there are none. -
hasErrors
public boolean hasErrors() -
getErrors
-