utils

package
v2.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckNotWritable

func CheckNotWritable(path string) bool

Check that path is not group or other writable

func CheckUsernameFormat added in v2.2.1

func CheckUsernameFormat(name string) bool

func ConnectionPool

func ConnectionPool(oktaURL string, pinset []string) (*http.Client, error)

Prepare an http client with the proper TLS config validate the server public key against our list of pinned key fingerprint

func GetEnv

func GetEnv(key, fallback string) string

func RemoveEmptyStrings added in v2.2.1

func RemoveEmptyStrings(s []string) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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