auth

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2020 License: Apache-2.0 Imports: 5 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 {
	//Configuration for SSO with Google
	Google *google.Auth `json:"google,omitempty" yaml:"google,omitempty"`
	//Configuration for SSO with Github
	Github *github.Auth `json:"github,omitempty" yaml:"github,omitempty"`
	//Configuration for SSO with Gitlab
	Gitlab *gitlab.Auth `json:"gitlab,omitempty" yaml:"gitlab,omitempty"`
	//Configuration for SSO with an generic OAuth provider
	GenericOAuth *generic.Auth `json:"genericOAuth,omitempty" yaml:"genericOAuth,omitempty"`
}

func ClearEmpty

func ClearEmpty(x *Auth) *Auth

func (*Auth) MarshalYAML

func (a *Auth) MarshalYAML() (interface{}, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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