auth

package
v1.0.13 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2021 License: Apache-2.0 Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthenticationType

type AuthenticationType string
const (
	Keycloak AuthenticationType = "keycloak"
	Ldap     AuthenticationType = "ldap"
	Horusec  AuthenticationType = "horusec"
)

func GetAuthTypeByString

func GetAuthTypeByString(authType string) (a AuthenticationType)

func (AuthenticationType) IsInvalid

func (a AuthenticationType) IsInvalid() bool

func (AuthenticationType) ToString

func (a AuthenticationType) ToString() string

func (AuthenticationType) Values

type AuthorizationType

type AuthorizationType string
const (
	ApplicationAdmin     AuthorizationType = "IsApplicationAdmin"
	WorkspaceAdmin       AuthorizationType = "IsWorkspaceAdmin"
	WorkspaceMember      AuthorizationType = "IsWorkspaceMember"
	RepositoryAdmin      AuthorizationType = "IsRepositoryAdmin"
	RepositorySupervisor AuthorizationType = "IsRepositorySupervisor"
	RepositoryMember     AuthorizationType = "IsRepositoryMember"
)

func Values

func Values() []AuthorizationType

func (AuthorizationType) ToString

func (i AuthorizationType) ToString() string

Jump to

Keyboard shortcuts

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