ReCaptchaResult
public enum ReCaptchaResult
The ReCaptcha result.
This may contain the validation token on success, or an error that may have occurred.
-
The validation token.
Declaration
Swift
case token(String) -
An error that may have occurred.
Declaration
Swift
case error(ReCaptchaError) -
Tries to unwrap the Result and retrieve the token if it’s successful.
Throws
ReCaptchaErrorDeclaration
Swift
public func dematerialize() throws -> StringReturn Value
The validation token uppon success.
View on GitHub
ReCaptchaResult Enumeration Reference