components

package
v0.0.11 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConsentPage

func ConsentPage(data ConsentPageData) g.Node

ConsentPage renders the OAuth consent page using gomponents

Types

type ConsentPageData

type ConsentPageData struct {
	ClientName          string
	ClientID            string
	LogoURI             string
	Scopes              []ScopeInfo
	RedirectURI         string
	ResponseType        string
	State               string
	CodeChallenge       string
	CodeChallengeMethod string
}

ConsentPageData contains all data needed for the consent page

type ScopeInfo

type ScopeInfo struct {
	Scope       string
	Description string
}

ScopeInfo represents a scope with its description

Jump to

Keyboard shortcuts

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