View definition

package clientcredentials

Defined in github.com/golang/oauth2/clientcredentials

Description

Package clientcredentials implements the OAuth2.0 "client credentials" token flow, also known as the "two-legged OAuth 2.0".

This should be used when the client is acting on its own behalf or when the client is the resource owner. It may also be used when requesting access to protected resources based on an authorization previously arranged with the authorization server.

See http://tools.ietf.org/html/draft-ietf-oauth-v2-31#section-4.4