Documentation ¶
Index ¶
- Variables
- func CheckSigninConsumerTokenIssuedAt(ctx context.Context, signature string, c *sdk.AuthHatcheryConsumer) (string, error)
- func CheckSigninRequest(req sdk.AuthConsumerHatcherySigninRequest) (string, error)
- func GetManifest() sdk.AuthDriverManifest
- func NewSigninConsumerToken(c *sdk.AuthHatcheryConsumer) (string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var SessionDuration = time.Hour
Functions ¶
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.
Click to show internal directories.
Click to hide internal directories.