Skip to content

verify(__)

MarcoDotIO edited this page Apr 25, 2023 · 1 revision

verify(_:)

Verifies the authenticity of a given data.

public func verify(_ data: Data) throws -> Bool 

This function attempts to verify the authenticity of the given data using the authenticator's verify method.

Parameters

  • data: The data to verify.

Throws

An error of type AuthenticatorError if there was an error during the verification process.

Returns

A boolean value indicating whether the given data is authentic or not.

Types
Protocols
Global Variables
Global Functions
Extensions
Clone this wiki locally