aadb2c

package module
v0.0.0-...-42a0a76 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2023 License: MPL-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AADB2C

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

func NewAADB2C

func NewAADB2C(
	logger *zap.Logger,
	appURL url.URL,
	idpCfg *webstd.IdP,
	oidc *webstd.OIDCProvider,
	auth *webstd.Authenticator,
	sm *scs.SessionManager,
) (*AADB2C, error)

func (AADB2C) AddUser

func (a AADB2C) AddUser(ctx context.Context, profile idp.UserProfile) (string, error)

func (AADB2C) GetLogoutURL

func (a AADB2C) GetLogoutURL(ctx context.Context) (string, error)

func (AADB2C) RemoveUser

func (a AADB2C) RemoveUser(ctx context.Context, userID string) error

func (AADB2C) ResendInviteEmail

func (a AADB2C) ResendInviteEmail(ctx context.Context, userID string) error

TODO

func (AADB2C) UpdateUser

func (a AADB2C) UpdateUser(ctx context.Context, profile idp.UserProfile) error

Jump to

Keyboard shortcuts

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