Share via


MSAuthenticationCallback protocol

Protocol for getting an access token. Your application should implement this protocol and pass it to the Rights Management SDK 4.2 APIs that perform authentication.

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 iOS and OS X Apps topic under Get started.

Signature

@protocol MSAuthenticationCallback <NSObject>

Methods

Name Description
accessTokenWithAuthenticationParameters
Implement this callback method to authenticate you application.

Defined in

MSAuthenticationCallback.h

Supported Platforms

Minimum supported OS versions
iOS 7.0 and OS X 10.8

Thread Safety

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