Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.
public class OAuth2AuthenticationException
- Object
- Throwable
- Exception
- RuntimeException
- AuthenticationException
- OAuth2AuthenticationException
Known subtypesInvalidBearerTokenException
An authentication that failed for a reason OAuth 2.0 has a code for.
Constructors
Methods
public OAuth2Error getError() | The error, with its code. |
Inherited methods
Constructor details
OAuth2AuthenticationException
public OAuth2AuthenticationException(OAuth2Error error)OAuth2AuthenticationException
public OAuth2AuthenticationException(OAuth2Error error, String message)OAuth2AuthenticationException
public OAuth2AuthenticationException(OAuth2Error error, String message, Throwable cause)Method details
getError
public OAuth2Error getError()The error, with its code.