OAuth2 v0.9.2 API Reference

Modules

The OAuth2 specification

This module defines the OAuth2.AccessToken struct and provides functionality to make authorized requests to an OAuth2 provider using the AccessToken returned by the provider

This module defines the OAuth2.Client struct and is responsible for building and establishing a request for an access token

Defines the OAuth2.Response struct which is created from the HTTP responses made by the OAuth2.Client module

The OAuth2 strategy specification

The Authorization Code Strategy

The Client Credentials Strategy

The Resource Owner Password Credentials Authorization Strategy

The Refresh Token Strategy