cognito

package
v0.25.1 Latest Latest
Warning

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

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

Documentation

Overview

Package cognito provides support for AWS Cognito

Index

Constants

View Source
const Name = "cognito"

Name identifies the Cognito identity provider

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	*pom_oidc.Provider
}

Provider is an Cognito implementation of the Authenticator interface.

func New

func New(ctx context.Context, opts *oauth.Options) (*Provider, error)

New instantiates an OpenID Connect (OIDC) provider for AWS Cognito.

func (*Provider) SignOut added in v0.25.0

func (p *Provider) SignOut(w http.ResponseWriter, r *http.Request, _, authenticateSignedOutURL, returnToURL string) error

SignOut implements sign out according to https://docs.aws.amazon.com/cognito/latest/developerguide/logout-endpoint.html.

Jump to

Keyboard shortcuts

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