pkg

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSigningAlg added in v0.0.2

func GetSigningAlg(k jwk.Key) jwt.SigningMethod

Types

type API

type API = api.API

func NewAPIWithVersionAndLogger

func NewAPIWithVersionAndLogger(
	globalConfig *GlobalConfiguration,
	db *Connection,
	version string,
	loggerFn func(next http.Handler) http.Handler,
	opt ...Option,
) (*API, http.Handler)

type APIConfiguration

type APIConfiguration = conf.APIConfiguration

type CORSConfiguration

type CORSConfiguration = conf.CORSConfiguration

type Connection

type Connection = storage.Connection

func Dial

func Dial(config *GlobalConfiguration) (*Connection, error)

type DBConfiguration

type DBConfiguration = conf.DBConfiguration

type EmailContentConfiguration added in v0.0.3

type EmailContentConfiguration = conf.EmailContentConfiguration

type EmailProviderConfiguration added in v0.0.3

type EmailProviderConfiguration = conf.EmailProviderConfiguration

type GlobalConfiguration

type GlobalConfiguration = conf.GlobalConfiguration

type HookConfiguration

type HookConfiguration = conf.HookConfiguration

type JWTConfiguration

type JWTConfiguration = conf.JWTConfiguration

type JwkInfo added in v0.0.2

type JwkInfo = conf.JwkInfo

type JwtKeysDecoder added in v0.0.2

type JwtKeysDecoder = conf.JwtKeysDecoder

type LimiterOptions

type LimiterOptions = api.LimiterOptions

func NewLimiterOptions

func NewLimiterOptions(gc *GlobalConfiguration) *LimiterOptions

type LoggingConfig

type LoggingConfig = conf.LoggingConfig

type MFAConfiguration

type MFAConfiguration = conf.MFAConfiguration

type MailerConfiguration

type MailerConfiguration = conf.MailerConfiguration

type MetricsConfig

type MetricsConfig = conf.MetricsConfig

type OAuthProviderConfiguration added in v0.0.3

type OAuthProviderConfiguration = conf.OAuthProviderConfiguration

type Option

type Option = api.Option

type PasswordConfiguration

type PasswordConfiguration = conf.PasswordConfiguration

type PhoneFactorTypeConfiguration added in v0.0.3

type PhoneFactorTypeConfiguration = conf.PhoneFactorTypeConfiguration

type ProfilerConfig

type ProfilerConfig = conf.ProfilerConfig

type ProviderConfiguration

type ProviderConfiguration = conf.ProviderConfiguration

type SAMLConfiguration

type SAMLConfiguration = conf.SAMLConfiguration

type SMTPConfiguration

type SMTPConfiguration = conf.SMTPConfiguration

type SecurityConfiguration

type SecurityConfiguration = conf.SecurityConfiguration

type SessionsConfiguration

type SessionsConfiguration = conf.SessionsConfiguration

type SmsProviderConfiguration

type SmsProviderConfiguration = conf.SmsProviderConfiguration

type TracingConfig

type TracingConfig = conf.TracingConfig

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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