identity

package
v2.8.4 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRotationTokenExpiryConfig

func AddRotationTokenExpiryConfig(ctx context.Context, tx *pachsql.Tx) error

AddRotationTokenExpiryConfig adds expiry fields for the rotation token lifespan to the server config DO NOT MODIFY THIS FUNCTION IT HAS BEEN USED IN A RELEASED MIGRATION

func AddTokenExpiryConfig

func AddTokenExpiryConfig(ctx context.Context, tx *pachsql.Tx) error

AddTokenExpiryConfig adds expiry fields for token lifespan to the server config DO NOT MODIFY THIS FUNCTION IT HAS BEEN USED IN A RELEASED MIGRATION

func CreateConfigTable

func CreateConfigTable(ctx context.Context, tx *pachsql.Tx) error

CreateConfigTable sets up the postgres table which stores IDP configuration. Dex usually loads config from a file, but reconfiguring via RPCs makes it faster for users to iterate on finding the correct values. `issuer` must be a well-known URL where all pachds can reach this server. DO NOT MODIFY THIS FUNCTION IT HAS BEEN USED IN A RELEASED MIGRATION

func CreateUsersTable

func CreateUsersTable(ctx context.Context, tx *pachsql.Tx) error

CreateUsersTable sets up the postgres table which tracks active IDP users DO NOT MODIFY THIS FUNCTION IT HAS BEEN USED IN A RELEASED MIGRATION

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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