AppleMusicAuthenticator
class AppleMusicAuthenticator(developerTokenProvider: AppleMusicTokenProvider) : CoroutineMiddleware<AppleMusicAuthenticatorContext>
The class is responsible to authenticate the app to use Apple Music SDK with the token provided by the developerTokenProvider.
Parameters
developerTokenProvider
provide the apple music sdk developer token
Properties
Link copied to clipboard
If false you can call onRequestUserToken to request a new user token.
Link copied to clipboard
Functions
Link copied to clipboard
fun createContext(appleMusicContext: AppleMusicContext, activityResultCaller: ActivityResultCaller): AppleMusicAuthenticatorContext
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Requests a new user token from the Apple Music SDK. This will launch the Apple Music app and prompt the user to accept the request.
Link copied to clipboard