sso

package
v0.0.0-...-3511abf Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddProviderInfoToMasterInfo

func AddProviderInfoToMasterInfo(config *config.Config, masterInfo *aproto.MasterInfo)

AddProviderInfoToMasterInfo modifies passed in master info adds sso provider information. In OSS this is a no-op.

func AddProviderInfoToMasterResponse

func AddProviderInfoToMasterResponse(config *config.Config, masterResp *apiv1.GetMasterResponse)

AddProviderInfoToMasterResponse modifies passed in master response adds sso provider information. In OSS this is a no-op. While having two functions that just set a field is somewhat awkward it avoids having to have OSS have any requirements that masterResp/masterInfo has a field defined for provider info.

func RegisterAPIHandlers

func RegisterAPIHandlers(config *config.Config, db *db.PgDB, echo *echo.Echo) error

RegisterAPIHandlers registers needed API handlers determined by master config. In OSS this is just a no-op.

Types

This section is empty.

Jump to

Keyboard shortcuts

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