config

package
v0.0.0-...-416c7cc Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Overview

* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OktaAppConfig

type OktaAppConfig struct {
	Provider string
	URL      string
}

OktaAppConfig represents an Okta app configuration.

func GetOktaApp

func GetOktaApp(app string) (*OktaAppConfig, error)

GetOktaApp returns an OktaAppConfig struct containing the configuration for app.

type OktaProviderConfig

type OktaProviderConfig struct {
	BaseURL  string
	Username string
}

OktaProviderConfig represents an Okta provider configuration.

func GetOktaProvider

func GetOktaProvider(p string) (*OktaProviderConfig, error)

GetOktaProvider returns a OktaProviderConfig struct containing the configuration for provider p.

type OneLoginAppConfig

type OneLoginAppConfig struct {
	ID       string
	Provider string
}

OneLoginAppConfig represents a OneLogin app configuration.

func GetOneLoginApp

func GetOneLoginApp(app string) (*OneLoginAppConfig, error)

GetOneLoginApp returns a OneLoginAppConfig struct containing the configuration for app.

type OneLoginProviderConfig

type OneLoginProviderConfig struct {
	ClientID     string
	ClientSecret string
	Subdomain    string
	Type         string
	Username     string
	Region       string
}

OneLoginProviderConfig represents a OneLogin provider configuration.

func GetOneLoginProvider

func GetOneLoginProvider(p string) (*OneLoginProviderConfig, error)

GetOneLoginProvider returns a OneLoginProviderConfig struct containing the configuration for provider p.

Jump to

Keyboard shortcuts

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