Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

TheThingsArchive/go-account-lib

Repository files navigation

GoDoc

go-account-lib

This is a client-library for the TTN account server.

It provides a suite of packages that assist in requesting, using and validating access tokens.

It consists of these packages:

  • account: A client package for actions on the account server
  • auth: A library of strategies that decorate http request to authorize them
  • cache: A library of caching strategies for storing and retrieving tokens
  • claims: Helpers to parse and validate access tokens as well as check their scopes and access rights.
  • scope: Contains all the scopes for an access token.
  • tokenkey: A client library to fetch and cache token keys from the account server.
  • tokens: A manager library that fetches and stores access tokens with different scopes based on an access token.
  • util: An internal package that provides helpers for the other packages.
  • oauth: A wrapper around golang.org/x/oauth2 that provides extra functionality like caching, following redirects etc.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages