Schnittstelle AuthorizationCallback


public interface AuthorizationCallback
A callback interface for the authorization of resources.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    Will be invoked if the authorization failed.
    void
    Will be invoked if the authorization was successful.
  • Methodendetails

    • authorizationFailure

      void authorizationFailure(Exception error)
      Will be invoked if the authorization failed.
      Parameter:
      error - The error exception
    • authorizationSuccess

      void authorizationSuccess(String accessToken)
      Will be invoked if the authorization was successful.
      Parameter:
      accessToken - The token that grants access to the authorized resource