Help us shape the future of Go! Take the 2026 Go Developer Survey

hatchery

package
v0.57.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2026 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SessionDuration = time.Hour

Functions

func CheckSigninConsumerTokenIssuedAt

func CheckSigninConsumerTokenIssuedAt(ctx context.Context, signature string, c *sdk.AuthHatcheryConsumer) (string, error)

func CheckSigninRequest

func CheckSigninRequest(req sdk.AuthConsumerHatcherySigninRequest) (string, error)

CheckSigninRequest checks that given driver request is valid for a signin with auth builtin.

func GetManifest

func GetManifest() sdk.AuthDriverManifest

func NewSigninConsumerToken

func NewSigninConsumerToken(c *sdk.AuthHatcheryConsumer) (string, error)

NewSigninConsumerToken returns a token to signin with built in consumer.

Types

This section is empty.

Jump to

Keyboard shortcuts

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