idp

package
v1.2.7 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package idp provides identity provider authentication.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Azure

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

Azure provides functionality of AzureAD as IdP

func NewAzure

func NewAzure(samlRequest string, tenantID string) Azure

NewAzure returns Azure

func (*Azure) Authenticate

func (a *Azure) Authenticate(ctx context.Context, userDataDir string) (string, error)

Authenticate sends SAML request to Azure and fetches SAML response

Jump to

Keyboard shortcuts

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