onboard

package
v1.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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 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