identity

package
v0.0.30 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrNoContext No User database context found error response
	ErrNoContext = models.NewOAuthErrorResponse(models.OAuthInvalidRequestError, "Context is null and cannot be validated")
)

Error list for the identity package it uses the following framework identification packageId.errorCode

Functions

func GetDefaultUsers

func GetDefaultUsers() []models.User

func Seed

func Seed(factory *mongodb.MongoFactory, databaseName string)

func SeedUsers

func SeedUsers(factory *mongodb.MongoFactory, databaseName string)

Types

This section is empty.

Directories

Path Synopsis
Package jwt provides the needed functions to generate tokens for users
Package jwt provides the needed functions to generate tokens for users

Jump to

Keyboard shortcuts

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