common

package
v0.2.55 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Authorization

func Authorization(config *oauth2.Config, parameters *types.AuthorizationParamters, requestParameters []oauth2.AuthCodeOption) string

Authorization gets the oauth2 authorization URL.

func CodeExchange

func CodeExchange(ctx context.Context, parameters *types.CodeExchangeParameters) (*oauth2.Token, error)

CodeExchange exchanges a code with an oauth2 server.

func Config

func Config(parameters *types.ConfigParameters, scopes []string) *oauth2.Config

Config returns an oauth2 configuration.

Types

This section is empty.

Jump to

Keyboard shortcuts

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