API Reference OAuth2 v2.1.0

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.

A serializer is responsible for encoding/decoding request/response bodies.

The OAuth2 strategy specification.

The Authorization Code Strategy.

The Client Credentials Strategy

The Resource Owner Password Credentials Authorization Strategy.

The Refresh Token Strategy.