enrollment

package
v0.149.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package enrollment marks requests to AuthKit's 2FA-enrollment routes, the only ones a 2FA-enrollment-only token reaches and the only ones a user a Required 2FA policy has yet to enroll may use. Only AuthKit's route table marks a request, so no host code can widen either.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsRoute

func IsRoute(ctx context.Context) bool

IsRoute reports whether ctx is an enrollment route's.

func Route

func Route(ctx context.Context) context.Context

Route marks ctx as an enrollment route's.

Types

This section is empty.

Jump to

Keyboard shortcuts

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