Interface AuthorizationError


public interface AuthorizationError
Provides explanation for why authorization failed.
Author:
cdivilly
  • Method Summary

    Modifier and Type
    Method
    Description
    Provides a localizable human readable description of the error.
    Provides a mnemonic identifier for the error.
    uri()
    Provides the location of a resource that describes the error condition.
  • Method Details

    • name

      String name()
      Provides a mnemonic identifier for the error. The value must conform to the syntax specified by the OAuth 2.0 error value.
      Returns:
      The error identifier, must not be null.
    • description

      Translatable description()
      Provides a localizable human readable description of the error.
      Returns:
      Translatable instance or null if the error lacks a description.
    • uri

      URI uri()
      Provides the location of a resource that describes the error condition.
      Returns:
      URI instance or null if the error lacks a description URI.