token

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultExpirationTime = "24h"

DefaultExpirationTime is the expiration time to be used when unspecified in the config.

Variables

This section is empty.

Functions

func CreateToken

func CreateToken(expiration string, userID *userpb.UserId) (*invitepb.InviteToken, error)

CreateToken creates a InviteToken object for the userID indicated by userID.

Types

This section is empty.

Jump to

Keyboard shortcuts

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