auth

package
v0.24.1 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckNetRegAndHostUpdate

func CheckNetRegAndHostUpdate(networks []string, h *models.Host, relayNodeId uuid.UUID)

CheckNetRegAndHostUpdate - run through networks and send a host update

func FetchPassValue added in v0.24.0

func FetchPassValue(newValue string) (string, error)

func IsOauthUser

func IsOauthUser(user *models.User) error

IsOauthUser - returns

func SessionHandler

func SessionHandler(conn *websocket.Conn)

SessionHandler - called by the HTTP router when user is calling netclient with join/register -s parameter in order to authenticate via SSO mechanism by OAuth2 protocol flow. This triggers a session start and it is managed by the flow implemented here and callback When this method finishes - the auth flow has finished either OK or by timeout or any other error occured

Types

This section is empty.

Jump to

Keyboard shortcuts

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