Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.
public final class OAuth2TokenValidatorResult
- Object
- OAuth2TokenValidatorResult
What an
OAuth2TokenValidator found: nothing, or the errors.Methods
Inherited methods
Method details
success
public static OAuth2TokenValidatorResult success()The token passed.
failure
public static OAuth2TokenValidatorResult failure(OAuth2Error... errors)The token failed, for these reasons.
failure
public static OAuth2TokenValidatorResult failure(Collection<OAuth2Error> errors)The token failed, for these reasons; passed, when there are none.
hasErrors
public boolean hasErrors()getErrors
public List<OAuth2Error> getErrors()