zitadel

package module
v0.0.0-...-4ef13f5 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: MPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Zitadel

type Zitadel struct {
	// contains filtered or unexported fields
}

func NewZitadel

func NewZitadel(
	opts *ZitadelAuthOptions,
	logger *zap.SugaredLogger,
	appURL url.URL,
	idpCfg *webstd.IdP,
	auth *webstd.Authenticator,
	sm *scs.SessionManager,
) (*Zitadel, error)

func (Zitadel) AddUser

func (z Zitadel) AddUser(ctx context.Context, profile idp.UserProfile) (string, error)

func (Zitadel) GetLogoutURL

func (z Zitadel) GetLogoutURL(ctx context.Context) (string, error)

func (Zitadel) RemoveUser

func (z Zitadel) RemoveUser(ctx context.Context, userID string) error

func (Zitadel) ResendInviteEmail

func (z Zitadel) ResendInviteEmail(ctx context.Context, userID string) error

func (Zitadel) UpdateUser

func (z Zitadel) UpdateUser(ctx context.Context, profile idp.UserProfile) error

type ZitadelAuthOptions

type ZitadelAuthOptions struct {
	// AutoRefreshIDToken determines whether the zitadel idp manager should attempt to auto refresh the ID token.
	AutoRefreshIDToken bool
}

Jump to

Keyboard shortcuts

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