api

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2021 License: AGPL-3.0-only Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClaimsGenResponse

type ClaimsGenResponse struct {
	*license.Claims
}

CLaimsGenResponse is the response model for the claims-gen API endpoint response.

type ClaimsKopanoProductsResponse

type ClaimsKopanoProductsResponse struct {
	Trusted  bool                                            `json:"trusted"`
	Offline  bool                                            `json:"offline"`
	Products map[string]*ClaimsKopanoProductsResponseProduct `json:"products"`
}

ClaimsKopanoProductsResponse defines the response model of the claims kopano products API endpoint.

type ClaimsKopanoProductsResponseProduct

type ClaimsKopanoProductsResponseProduct struct {
	OK                          bool                   `json:"ok"`
	Claims                      map[string]interface{} `json:"claims"`
	Expiry                      []*jwt.NumericDate     `json:"expiry"`
	DisplayName                 []string               `json:"dn"`
	SupportIdentificationNumber []string               `json:"sin"`

	ExclusiveClaims map[string]interface{} `json:"-"`
}

ClaimsKopanoProductsResponseProduct is the individual product entryu for products returned by the kopano products API endpoint.

type ClaimsResponse

type ClaimsResponse []*license.Claims

ClaimsResponse is the response model for the claims API endpoint response.

Jump to

Keyboard shortcuts

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