Close httplib2 connections.
generateSecret(body=None, x__xgafv=None)
Generates a secret to be used with the ValidateInstaller method
validate(body=None, x__xgafv=None)
Validates the identity of a Certified Professional Installer (CPI).
close()
Close httplib2 connections.
generateSecret(body=None, x__xgafv=None)
Generates a secret to be used with the ValidateInstaller method
Args:
body: object, The request body.
The object takes the form of:
{ # Request for GenerateSecret method] [spectrum.sas.portal.v1alpha1.DeviceManager.GenerateSecret].
}
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Response for GenerateSecret method.
"secret": "A String", # The secret generated by the string and used by [ValidateInstaller] method.
}
validate(body=None, x__xgafv=None)
Validates the identity of a Certified Professional Installer (CPI).
Args:
body: object, The request body.
The object takes the form of:
{ # Request for ValidateInstaller method.
"secret": "A String", # Required. Secret returned by the GenerateSecret method.
"installerId": "A String", # Required. Unique installer id (cpiId) from the Certified Professional Installers database.
"encodedSecret": "A String", # Required. JSON Web Token signed using a CPI private key. Payload must include a "secret" claim whose value is the secret.
}
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Response for ValidateInstaller method] [spectrum.sas.portal.v1alpha1.DeviceManager.ValidateInstaller].
}