checkCanAuthorize(completion:)
Checks whether the right has permission to perform authorization.
Declaration
func checkCanAuthorize(completion handler: @escaping @Sendable ((any Error)?) -> Void)func checkCanAuthorize() async throwsParameters
- handler:
A completion handler called when the authorization check finishes.
errorIf
nil, the right can be authorized.