共用方式為


AuthenticationRequestCallback interface

AuthenticationRequestCallback interface definition. This interface is implemented by you and used by the SDK to retrieve an access token.

We recommend that you use the Azure AD Authentication Library (ADAL). However, other authentication libraries that support OAuth 2.0 can be used as well. For more information, see the Prerequisites section in the Android Apps topic under Get started.

Signature

public interface AuthenticationRequestCallback

Methods

Name Description
getToken
Gets the authentication token.

Defined in

AuthenticationRequestCallback.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

Android API Reference

CreationCallback<T>

Azure AD Authentication Library