oidc

package
Version: v0.0.0-...-0feb2aa Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2022 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, altGroupName string) error

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

func (*Auth) SearchGroup

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

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

Source Files

Jump to

Keyboard shortcuts

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