auth

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: May 20, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSP

func GetSP(spec Spec) (*api.SP, error)

Types

type Spec

type Spec struct {
	// Auth strategy: azurecert, azurecreds, device, saml, addin, adfs, ntlm, tmg, fba
	Strategy string `json:"strategy"`
	// `creds` options are unique for different auth strategies. See more details in [Auth strategies](https://go.spflow.com/auth/strategies)
	Creds map[string]string `json:"creds"`
}

Spec is the configuration for a SharePoint auth

func (*Spec) Validate

func (s *Spec) Validate() error

Validate validates auth spec validity

Jump to

Keyboard shortcuts

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