Skip to content

Commit

Permalink
Add Go doc badge in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vasayxtx committed Dec 13, 2024
1 parent b55d668 commit 9b0feff
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Toolkit for authentication and authorization in Go services

[![GoDoc Widget]][GoDoc]

## Installation

```
Expand Down Expand Up @@ -40,6 +42,9 @@ type Scope []AccessPolicy
type Claims interface {
jwtgo.Claims

// GetID returns the JTI field of the claims.
GetID() string

// GetScope returns the scope of the claims as a slice of access policies.
GetScope() Scope

Expand Down Expand Up @@ -185,3 +190,6 @@ func main() {
Copyright © 2024 Acronis International GmbH.

Licensed under [MIT License](./LICENSE).

[GoDoc]: https://pkg.go.dev/github.com/acronis/go-authkit
[GoDoc Widget]: https://godoc.org/github.com/acronis/go-authkit?status.svg

0 comments on commit 9b0feff

Please sign in to comment.