Interface EventIdToErrorObjectMapping

All Known Implementing Classes:
AbstractErrorObjectMapping, AuthorizationErrorObjectMapping, IntrospectionErrorObjectMapping, PushedAuthorizationErrorObjectMapping, RegistrationErrorObjectMapping, RevocationErrorObjectMapping, TokenErrorObjectMapping, UserInfoErrorObjectMapping

public interface EventIdToErrorObjectMapping
Interface for mapping an event ID to an Nimbus error object.
Since:
4.4.0
  • Method Summary

    Modifier and Type
    Method
    Description
    com.nimbusds.oauth2.sdk.ErrorObject
    Get the error object mapped to the event ID.
    Get the event ID for the error object mapping.
  • Method Details

    • getEventId

      @Nonnull String getEventId()
      Get the event ID for the error object mapping.
      Returns:
      event id
    • getErrorObject

      @Nonnull com.nimbusds.oauth2.sdk.ErrorObject getErrorObject()
      Get the error object mapped to the event ID.
      Returns:
      error object