Package | Description |
---|---|
com.okta.sdk.error.authc | |
com.okta.sdk.impl.error | |
com.okta.sdk.resource |
Modifier and Type | Class and Description |
---|---|
class |
IncorrectCredentialsException
A sub-class of
ResourceException representing an attempt to login using incorrect credentials. |
class |
InvalidAuthenticationException
Thrown when the Authentication credentials (or access_token for OAuth requests) cannot be found in the
httpRequest . |
class |
InvalidCredentialsException
A sub-class of
ResourceException representing an attempt to login using an malformed credentials. |
class |
MissingCredentialsException
Thrown when the an Authentication Request lacks a ClientCredentials.
|
class |
UnsupportedAuthenticationSchemeException
A sub-class of
ResourceException representing an authentication scheme not supported by Okta. |
Constructor and Description |
---|
IncorrectCredentialsException(Error error) |
InvalidAuthenticationException(Error error) |
InvalidCredentialsException(Error error) |
MissingCredentialsException(Error error) |
UnsupportedAuthenticationSchemeException(Error error) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultError |
Modifier and Type | Class and Description |
---|---|
class |
ResourceException
A Runtime exception typically thrown when the remote server returns a non 20x response.
|
Modifier and Type | Method and Description |
---|---|
Error |
ResourceException.getError()
Returns the underlying REST
Error returned from the Okta API server. |
Constructor and Description |
---|
ResourceException(Error error) |
Copyright © 2017–2023 Okta. All rights reserved.