SKCloudServiceController.RequestUserToken Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Requests the user code for accessing personalized music content, passing the code and an error, if present, to the provided handler.
[Foundation.Export("requestUserTokenForDeveloperToken:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void RequestUserToken (string developerToken, Action<Foundation.NSString,Foundation.NSError> completionHandler);
abstract member RequestUserToken : string * Action<Foundation.NSString, Foundation.NSError> -> unit
override this.RequestUserToken : string * Action<Foundation.NSString, Foundation.NSError> -> unit
Parameters
- developerToken
- String
The JWT token to authenticate the developer.
- Attributes