grants

package
v0.15.2 Latest Latest
Warning

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

Go to latest
Published: May 31, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientCredentialsGrantBasic

func ClientCredentialsGrantBasic(scopes ...string) *clientCredentialsGrantBasic

ClientCredentialsGrantBasic creates an oauth2 `Client Credentials` Grant sneding client_id and client_secret as basic auth header

func ClientCredentialsGrantValues

func ClientCredentialsGrantValues(clientID, clientSecret string, scopes ...string) *clientCredentialsGrant

ClientCredentialsGrantValues creates an oauth2 `Client Credentials` Grant sneding client_id and client_secret as form values

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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