provider

package
v0.0.0-...-48663ca Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CAS

type CAS struct {
	Provider string
	Key      []byte
}

func (*CAS) Boot

func (conf *CAS) Boot() template.HTML

func (*CAS) Verify

func (conf *CAS) Verify(params, code string) (kb.User, error)

type Google

type Google struct {
	ClientID     string
	ClientSecret string
	HostedDomain string
}

func (*Google) Boot

func (conf *Google) Boot() template.HTML

func (*Google) Verify

func (conf *Google) Verify(user, code string) (kb.User, error)

Directories

Path Synopsis
This is a simple authentiaction scheme based on Hawk.
This is a simple authentiaction scheme based on Hawk.

Jump to

Keyboard shortcuts

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