provider

package
v0.0.0-...-27c9e6d Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderNameInitializationMap = make(map[string]func(key, secret, cbUrl string, scopes ...string) goth.Provider)

ProviderNameInitializationMap is a map of initialization functions for supported OAUTH providers

Functions

func New

func New(name string, secret, key *string, uri string, scopes ...string) (*goth.Provider, error)

New returns a new provider with the given parameters. It checks if the provider is supported or not and if all the requierements are met.

Types

This section is empty.

Jump to

Keyboard shortcuts

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