go-account-lib

module
v2.0.3+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2016 License: MIT

README

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL