Package | Description |
---|---|
com.pingidentity.sdk.api.authn.common |
Contains "spec" classes for states, actions, and errors that are shared across multiple API-capable plugins.
|
com.pingidentity.sdk.api.authn.spec |
Defines various "spec" classes for the Authentication API.
|
Modifier and Type | Field and Description |
---|---|
static AuthnErrorSpec |
CommonErrorSpec.INVALID_ACTION_ID
The top-level error returned when the API request is not valid for the current state of the flow.
|
static AuthnErrorSpec |
CommonErrorSpec.INVALID_REQUEST
The top-level error returned when the request is invalid.
|
static AuthnErrorSpec |
CommonErrorSpec.RESOURCE_NOT_FOUND
The top-level error returned when the API request is for a resource that does not exist.
|
static AuthnErrorSpec |
CommonErrorSpec.UNEXPECTED_ERROR
The top-level error returned when an unexpected error occurs.
|
static AuthnErrorSpec |
CommonErrorSpec.VALIDATION_ERROR
The top-level error returned when one or more validation errors occurred while processing the request.
|
Modifier and Type | Method and Description |
---|---|
AuthnErrorSpec |
AuthnErrorSpec.Builder.build()
Build the spec.
|
AuthnErrorSpec |
AuthnErrorGroup.getError()
Get the spec for the top-level error.
|
Modifier and Type | Method and Description |
---|---|
AuthnErrorGroup.Builder |
AuthnErrorGroup.Builder.error(AuthnErrorSpec errorSpec)
Set the top-level error spec.
|
AuthnActionSpec.Builder<ModelType> |
AuthnActionSpec.Builder.error(AuthnErrorSpec errorSpec)
Add an error spec.
|
Copyright 2019 Ping Identity Corp. All rights reserved.