builtin

package
v0.53.1 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDriver

func NewDriver() sdk.AuthDriver

NewDriver returns a new initialized driver for builtin authentication.

Types

type AuthDriver

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

AuthDriver for builtin authentication.

func (AuthDriver) GetDriver added in v0.53.0

func (d AuthDriver) GetDriver() sdk.Driver

func (AuthDriver) GetManifest

func (d AuthDriver) GetManifest() sdk.AuthDriverManifest

func (AuthDriver) GetSessionDuration

func (d AuthDriver) GetSessionDuration() time.Duration

func (AuthDriver) GetUserInfo

type NewConsumerOptions added in v0.52.0

type NewConsumerOptions struct {
	Name                         string
	Description                  string
	Duration                     time.Duration
	GroupIDs                     []int64
	Scopes                       sdk.AuthConsumerScopeDetails
	ServiceName                  *string
	ServiceType                  *string
	ServiceRegion                *string
	ServiceIgnoreJobWithNoRegion *bool
}

NewConsumer returns a new builtin consumer for given data. The parent consumer should be given with all data loaded including the authentified user.

Jump to

Keyboard shortcuts

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