authenticator

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2018 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AppClientId = os.Getenv("APP_CLIENT_ID")
View Source
var AuthDomainName = os.Getenv("AUTH_DOMAIN_NAME")
View Source
var DynamoDbTableName = os.Getenv("DDB_TABLE_NAME")
View Source
var ProtectedDomainName = os.Getenv("PROTECTED_DOMAIN_NAME")
View Source
var SuccessRedirect = os.Getenv("SUCCESS_REDIRECT")
View Source
var UserPoolId = os.Getenv("USER_POOL_ID")

Functions

func RegisterRoutes

func RegisterRoutes(ddb *dynamodb.DynamoDB, cog *cip.CognitoIdentityProvider, config *oauth2.Config, t *template.Template)

func SigninHandler

func SigninHandler(config *oauth2.Config, t *template.Template) func(http.ResponseWriter, *http.Request)

func SignoutHandler

func SignoutHandler(ddb *dynamodb.DynamoDB) func(http.ResponseWriter, *http.Request)

Types

This section is empty.

Jump to

Keyboard shortcuts

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