Skip to content

Commit

Permalink
docs: IsAvailable()
Browse files Browse the repository at this point in the history
  • Loading branch information
aripalo committed Apr 1, 2022
1 parent a72678f commit 0fdcd77
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,21 @@ Once initialized, you may perform operations on `oathAccounts` such as [`List`](

<br/>

## Check if Device Available

To verify if the configured Yubikey device is connected & available:
```go
IsAvailable := oathAccounts.IsAvailable()
fmt.Println(IsAvailable)
```

Example Go output:
```go
true
```

<br/>

## List Accounts

List OATH accounts configured in the Yubikey device:
Expand Down

0 comments on commit 0fdcd77

Please sign in to comment.