Versions in this module Expand all Collapse all v1 v1.2.1 Apr 24, 2024 v1.2.0 Apr 24, 2024 Changes in this version + const ConsoleSubnetURL + var OfflinePublicKeys = []string + func GenerateRegToken(clusterRegInfo mc.ClusterRegistrationInfo) (string, error) + func GetAPIKey(client http.ClientI, token string) (string, error) + func GetClusterRegInfo(admInfo madmin.InfoMessage) mc.ClusterRegistrationInfo + func GetLicenseInfoFromJWT(license string, publicKeys []string) (*licverifier.LicenseInfo, error) + func GetOrganizations(client http.ClientI, token string) ([]*models.SubnetOrganization, error) + func GetSubnetAPIKeyUsingLicense(lic string) (string, error) + func LogWebhookURL() string + func UploadAuthHeaders(apiKey string) map[string]string + func UploadURL(uploadType string, filename string) string + type LicenseTokenConfig struct + APIKey string + License string + Proxy string + func Register(client http.ClientI, admInfo madmin.InfoMessage, ...) (*LicenseTokenConfig, error) + type LoginResp struct + AccessToken string + MfaToken string + func Login(client http.ClientI, username, password string) (*LoginResp, error) + func LoginWithMFA(client http.ClientI, username, mfaToken, otp string) (*LoginResp, error) + type MfaReq struct + OTP string + Token string + Username string