oauth2

package
v0.8.10 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package oauth2 provides OAuth 2 abstractions for this project.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClientCredentialsToken

func GetClientCredentialsToken(
	ctx context.Context,
	clientID string,
	clientSecret string,
	scopes []string,
	tokenEndpointURL string,
	maxAttempts int,
) (*oauth2.Token, error)

GetClientCredentialsToken receives OAuth2 Client Credentials / application registration details used to request a token from an authorization server and returns a new token or an error if one occurs.

Types

This section is empty.

Jump to

Keyboard shortcuts

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