SAS Portal API (Testing) . installer

Instance Methods

close()

Close httplib2 connections.

generateSecret(body=None, x__xgafv=None)

Generates a secret to be used with the ValidateInstaller.

validate(body=None, x__xgafv=None)

Validates the identity of a Certified Professional Installer (CPI).

Method Details

close()
Close httplib2 connections.
generateSecret(body=None, x__xgafv=None)
Generates a secret to be used with the ValidateInstaller.

Args:
  body: object, The request body.
    The object takes the form of:

{ # Request for 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.
  "secret": "A String", # The secret generated by the string and used by ValidateInstaller.
}
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.
  "encodedSecret": "A String", # Required. JSON Web Token signed using a CPI private key. Payload must include a "secret" claim whose value is the secret.
  "installerId": "A String", # Required. Unique installer id (CPI ID) from the Certified Professional Installers database.
  "secret": "A String", # Required. Secret returned by the 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 ValidateInstaller.
}