Contents

checkCanAuthorize(completion:)

Checks whether the right has permission to perform authorization.

Declaration

func checkCanAuthorize(completion handler: @escaping  @Sendable ((any Error)?) -> Void)
func checkCanAuthorize() async throws

Parameters

  • handler:

    A completion handler called when the authorization check finishes.

    error

    If nil, the right can be authorized.

Discussion

See Also

Monitoring authorization status