oidc

package
v0.0.0-...-e0b94aa Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth struct {
	auth.DefaultAuthenticateHelper
}

Auth of OIDC mode only implements the funcs for onboarding group

func (*Auth) OnBoardGroup

func (a *Auth) OnBoardGroup(ctx context.Context, u *model.UserGroup, _ string) error

OnBoardGroup create user group entity in Harbor DB, altGroupName is not used.

func (*Auth) SearchGroup

func (a *Auth) SearchGroup(_ context.Context, groupKey string) (*model.UserGroup, error)

SearchGroup is skipped in OIDC mode, so it makes sure any group will be onboarded.

Jump to

Keyboard shortcuts

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