Package | Description |
---|---|
com.pingidentity.sdk.api.authn.model |
Contains the core set of models for the Authentication API.
|
com.pingidentity.sdk.api.authn.spec |
Defines various "spec" classes for the Authentication API.
|
Modifier and Type | Method and Description |
---|---|
AuthnError.Builder |
AuthnError.Builder.code(String code)
Set the error code.
|
AuthnError.Builder |
AuthnError.Builder.detail(AuthnErrorDetail detail)
Add an additional error detail object.
|
AuthnError.Builder |
AuthnError.Builder.httpStatus(int httpStatus)
Set the status code.
|
AuthnError.Builder |
AuthnError.Builder.message(String message)
Set the developer-facing error message.
|
AuthnError.Builder |
AuthnError.Builder.userMessage(String userMessage)
Directly set the localized user-facing error message.
|
AuthnError.Builder |
AuthnError.Builder.userMessageKey(String messageKey)
Set the user-facing error message key.
|
Modifier and Type | Method and Description |
---|---|
AuthnError.Builder |
AuthnErrorSpec.makeInstanceBuilder()
Get an
AuthnError builder initialized with the parameters
from this spec. |
Copyright 2019 Ping Identity Corp. All rights reserved.