onboard

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2025 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Package onboard implements the onboarding service, allowing users to register and obtain credentials.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoginOrRegister

type LoginOrRegister bool
const (
	Login    LoginOrRegister = true
	Register LoginOrRegister = false
)

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server represents the example RP server

func New

func New(internalPort, ourURL, providerURL, clientID, clientSecret, privateArea string) *Server

New creates a new Application server. internalPort is the port on which the server will listen for internal requests. ourURL is the public URL of the server. providerURL is the URL of the OpenID Provider (OP). clientID is our RP client ID as registered in the OP. clientSecret is our RP client secret as registered in the OP.

func (*Server) Start

func (s *Server) Start() error

Start starts the Relying Party server

Jump to

Keyboard shortcuts

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