removeAllRights(completion:)
Removes all rights associated with this client from the right store.
Declaration
func removeAllRights(completion handler: @escaping @Sendable ((any Error)?) -> Void)func removeAllRights() async throwsParameters
- handler:
A completion handler to call when the removal operation completes.
errorAn error object that indicates why the removal operation failed, or
nilif it succeeded.
Discussion
Removing rights also removes any resources stored along with the rights, such as secrets.