oauth

package
v0.0.0-...-1726717 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dependencies

type Dependencies struct {
	Log *zerolog.Logger
}

Dependencies struct for memory store provider

type Provider

type Provider interface {
	// GetOAuthConfig returns the OAuth config for the given provider
	GetOAuthConfig(ctx *gin.Context, provider string) (*oauth2.Config, error)
}

Provider is the interface that provides the methods to interact with the oauth providers.

func New

func New(cfg *config.Config, deps *Dependencies) (Provider, error)

New constructs a new graphql provider with given arguments

Jump to

Keyboard shortcuts

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