package
0.0.0-20220516200307-a11ed8103220
Repository: https://github.com/everactive/iot-management.git
Documentation: pkg.go.dev
# Packages
Package usso provides types and functionality for the Ubuntu Single Sign-on Server.
# Functions
NewService returns a new web controller.
# Constants
JSONHeader is the content-type header for JSON responses.
# Variables
VerifyTokenAndUser is a variable function to verify the token and extract the user based on the current provider.
# Structs
Account is the account structure for a USSO user based on the token.
OrganizationResponse defines the response to list users.
OrganizationsResponse defines the response to list users.
Page is the page details for the web application.
Service is the implementation of the web API.
UserOrganization defines an organization and whether it is selected for a user.
UserOrganizationsResponse defines the response to list users.
UserResponse defines the response to get a user.
UsersResponse defines the response to list users.
VersionResponse is the JSON response from the API Version method.
# Interfaces
UbuntuSingleSignOnServer is the interface for minimal USSO functionality.