Interface AuthorizationError
-
public interface AuthorizationError
Provides explanation for why authorization failed.- Author:
- cdivilly
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Translatable
description()
Provides a localizable human readable description of the error.java.lang.String
name()
Provides a mnemonic identifier for the error.java.net.URI
uri()
Provides the location of a resource that describes the error condition.
-
-
-
Method Detail
-
name
java.lang.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
java.net.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.
-
-