Contents

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 throws

Parameters

  • handler:

    A completion handler to call when the removal operation completes.

    error

    An error object that indicates why the removal operation failed, or nil if it succeeded.

Discussion

Removing rights also removes any resources stored along with the rights, such as secrets.

See Also

Removing stored rights