oauthapps

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppsConfig

type AppsConfig struct {
	Apps []OAuthAppConfig `json:"apps"`
}

func NewAppsConfigFromFile

func NewAppsConfigFromFile(path string) (AppsConfig, error)

func (AppsConfig) Validate

func (c AppsConfig) Validate() error

type OAuthAppConfig

type OAuthAppConfig struct {
	Identifier   string
	ClientID     string
	ClientSecret string
	Provider     providers.OAuthProvider
	ExtraData    map[string]interface{}
}

func (OAuthAppConfig) Validate

func (a OAuthAppConfig) Validate() error

Jump to

Keyboard shortcuts

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