Platforms to show: All Mac Windows Linux Cross-Platform

Back to ASAuthorizationControllerMBS class.

ASAuthorizationControllerMBS.didCompleteWithAuthorization(authorization as ASAuthorizationMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AuthenticationServices MBS MacFrameworks Plugin 25.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Called when authorization completes successfully.
Example
Sub didCompleteWithAuthorization(authorization as ASAuthorizationMBS) Handles didCompleteWithAuthorization
Log CurrentMethodName

Log "authorization: "+authorization.Description

Var c As ASAuthorizationCredentialMBS = authorization.Credential
log "credentials: "+c.Description

End Sub

authorization: An encapsulation of the successful authorization.

ASAuthorizationControllerMBS.didCompleteWithError(error as NSErrorMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AuthenticationServices MBS MacFrameworks Plugin 25.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Called when authorization fails, and provides an error explaining why.
Example
Sub didCompleteWithError(error as NSErrorMBS) Handles didCompleteWithError
Log CurrentMethodName

If error <> Nil Then
log error.LocalizedDescription
End If

End Sub

error: An error that explains the failure.

ASAuthorizationControllerMBS.presentationAnchorRequested

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AuthenticationServices MBS MacFrameworks Plugin 25.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The framework asked for the presentation context.

Your chance to update the presentationContext property with the view/window to use as host.

The items on this page are in the following plugins: MBS MacFrameworks Plugin.


The biggest plugin in space...