proxy.golang.org : github.com/authok/authok-go
Package authok provides a client for using the Authok Management API. Usage Initialize a new client using a domain, client ID and secret. Or using a static token. With a management client we can then interact with the Authok Management API. The authok package handles authentication by exchanging the client id and secret supplied when creating a new management client. This is handled internally using the https://godoc.org/golang.org/x/oauth2 package. The authok package also handles rate limiting by respecting the `X-Rate-Limit-*` headers sent by the server. The amount of time the client waits for the rate limit to be reset is taken from the `X-Rate-Limit-Reset` header as the amount of seconds to wait. There are several other options that can be specified during the creation of a new client. As with the global client configuration, fine-grained configuration can be done on a request basis.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/authok/authok-go
License: MIT
Latest release: over 2 years ago
First release: over 2 years ago
Namespace: github.com/authok
Last synced: 28 days ago