Skip to content

Commit

Permalink
fix some typos in readme file, no code change.
Browse files Browse the repository at this point in the history
  • Loading branch information
ezzarghili committed Dec 26, 2018
1 parent 980c1d9 commit 4037443
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ if err != nil {
// proceed
```
For specific options use the `VerifyWithOptions` method
Availavle options for the v2 api are:
Available options for the v2 api are:

```go
Hostname string
ApkPackageName string
ResponseTime float64
RemoteIP string
```
Other v3 options are ignored and method will return nil when succeeded
Other v3 options are ignored and method will return `nil` when succeeded

```go
err := captcha.VerifyWithOptions(recaptchaResponse, , VerifyOption{RemoteIP: "123.123.123.123"})
Expand All @@ -57,8 +57,8 @@ func main(){
}
```

Now everytime you need to verify a V2 API client with no special options request use

Now everytime you need to verify a V3 API client with no special options request use
Note that as recaptcha v3 use score for challenge validation, if no treshold option is set the **default** value is `0.5`
```go
err := captcha.Verify(recaptchaResponse)
if err != nil {
Expand Down

0 comments on commit 4037443

Please sign in to comment.