Package de.esoco.lib.net
Schnittstelle AuthorizationCallback
public interface AuthorizationCallback
A callback interface for the authorization of resources.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
authorizationFailure
(Exception error) Will be invoked if the authorization failed.void
authorizationSuccess
(String accessToken) Will be invoked if the authorization was successful.
-
Methodendetails
-
authorizationFailure
Will be invoked if the authorization failed.- Parameter:
error
- The error exception
-
authorizationSuccess
Will be invoked if the authorization was successful.- Parameter:
accessToken
- The token that grants access to the authorized resource
-