Documentation
¶
Index ¶
- func Assets(ctx context.Context) (any, bool)
- func CSRFToken(ctx context.Context) (string, bool)
- func ChallengeEnabled(ctx context.Context) (bool, bool)
- func ChallengeEnabledOrDefault(ctx context.Context, fallback bool) bool
- func Email(ctx context.Context) (string, bool)
- func EmailOrDefault(ctx context.Context, def string) string
- func Flash(ctx context.Context) (*flash.Message, bool)
- func IsHTMX(ctx context.Context) bool
- func OAuthNonce(ctx context.Context) (string, bool)
- func OAuthNonceOrDefault(ctx context.Context, def string) string
- func ReturnTo(ctx context.Context) (string, bool)
- func ReturnToOrDefault(ctx context.Context, def string) string
- func Roles(ctx context.Context) (roles.Roles, bool)
- func SessionID(ctx context.Context) (uuid.UUID, bool)
- func UserID(ctx context.Context) (uuid.UUID, bool)
- func WithAssets(ctx context.Context, a any) context.Context
- func WithCSRF(ctx context.Context, token string) context.Context
- func WithChallengeEnabled(ctx context.Context, enabled bool) context.Context
- func WithEmail(ctx context.Context, id string) context.Context
- func WithFlash(ctx context.Context, f *flash.Message) context.Context
- func WithHTMX(ctx context.Context) context.Context
- func WithOAuthNonce(ctx context.Context, nonce string) context.Context
- func WithReturnTo(ctx context.Context, path string) context.Context
- func WithRoles(ctx context.Context, roles roles.Roles) context.Context
- func WithSessionID(ctx context.Context, sessionID uuid.UUID) context.Context
- func WithUserID(ctx context.Context, id uuid.UUID) context.Context
- type EmailKeyType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChallengeEnabledOrDefault ¶ added in v0.1.14
func OAuthNonceOrDefault ¶ added in v0.1.18
func WithChallengeEnabled ¶ added in v0.1.14
func WithOAuthNonce ¶ added in v0.1.18
Types ¶
type EmailKeyType ¶ added in v0.1.17
type EmailKeyType struct{}
Click to show internal directories.
Click to hide internal directories.