hatchery

package
v0.54.1 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 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