session

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DbscSessionRegistrationHeaderName = "Secure-Session-Registration"
	DbscSessionResponseHeaderName     = "Secure-Session-Response"
	DbscSessionChallengeHeaderName    = "Secure-Session-Challenge"
	DbscSessionIdHeaderName           = "Sec-Secure-Session-Id"
)

The header names follow the Device Bound Session Credentials protocol, which renamed them from Sec-Session-* to Secure-Session-* during its second origin trial. Chrome ignores a registration header it does not recognise, so the old names left the mechanism silently inactive.

Variables

This section is empty.

Functions

func GenerateDbscChallenge

func GenerateDbscChallenge() (string, error)

Types

This section is empty.

Directories

Path Synopsis
types
navigation_refresh_handler
Package navigation_refresh_handler renews an expired session on a navigation to a sign-in page and sends the browser back where it came from, instead of asking someone to sign in again while their authentication is still valid.
Package navigation_refresh_handler renews an expired session on a navigation to a sign-in page and sends the browser back where it came from, instead of asking someone to sign in again while their authentication is still valid.
session_instructions
Package session_instructions holds the session instructions a server returns to a browser for a device bound session.
Package session_instructions holds the session instructions a server returns to a browser for a device bound session.

Jump to

Keyboard shortcuts

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