google

package
Version: v1.0.0-alpha4 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2018 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package google is an identity provider that authenticates with google.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewIdentityProvider

func NewIdentityProvider(p Params) idp.IdentityProvider

NewIdentityProvider creates a google identity provider with the configuration defined by p.

Types

type Params

type Params struct {
	// ClientID contains the Application Id for the application
	// registered at
	// https://console.developers.google.com/apis/credentials.
	ClientID string `yaml:"client-id"`

	// ClientSecret contains a password type Application Secret for
	// the application as generated on
	// https://console.developers.google.com/apis/credentials.
	ClientSecret string `yaml:"client-secret"`
}

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL