saasprovisioner

package
v0.750.8 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register()

Register initialized the external user provisioner.

Types

type SAASProvisioner

type SAASProvisioner struct{}

SAASProvisioner is a struct for provisioning saas users.

func (*SAASProvisioner) GetAndMaybeProvisionUserByToken

func (p *SAASProvisioner) GetAndMaybeProvisionUserByToken(ctx context.Context, tokenText string,
	ext *model.ExternalSessions,
) (*model.User, *model.UserSession, error)

GetAndMaybeProvisionUserByToken returns a user session derived from an external authentication token.

Jump to

Keyboard shortcuts

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