AuthenticationCompletionCallback interface

An interface provided the SDK used to return an access token to the SDK from the application using it. We recommend that you use the Azure AD Authentication Library and other authentication libraries can be used.

Signature

public interface AuthenticationCompletionCallback

Methods

Name Description
onCancel
Called if authentication was cancelled
onFailure
Should be called if authentication has failed
onSuccess
Callback to asynchronously pass the access token

Defined in

AuthenticationCompletionCallback.java

Supported Platforms

Minimum supported OS version
Android 4.0.3 (API level 15)

Package

com.microsoft.rightsmanagement

Thread Safety

Members of this class are not guaranteed to be thread safe.

See also

Azure AD Authentication Library