Skip to main content
Skip table of contents

settings/osx-signing-auth-type

The authentication method for connecting to the iOS signing server.

GET

Retrieves the authentication method for connecting to the iOS signing server.

Example request

Request

CODE
curl -v -L -b c.txt -c c.txt -X GET \
 http://bc.qwe.com/mocana-app-control/rest/settings/osx-signing-auth-type

Response

CODE
{
  "message": "",
  "settings": [{
    "code": "OPT_CODE_OSX_SIGNING_AUTH_TYPE",
    "string_data": "ssh"
  }],
  "status": "OK"
}

POST

Sets the authentication method for connecting to the iOS signing server.

Parameters

ParameterDescription
osx_signing_auth_type

Specify the authentication method for connecting to the signing server—either supply the password or generate an SSH key. 

Valid values:

Example request

 This example sets the authentication method to password:

Request

CODE
curl -v -L -b c.txt -c c.txt -X POST http://bc.qwe.com/mocana-app-control/rest/settings/osx-signing-auth-type \
 -d osx_signing_auth_type="password"

 This example sets the authentication method to ssh:

Request

CODE
curl -v -L -b c.txt -c c.txt -X POST http://bc.qwe.com:8080/mocana-app-control/rest/settings/osx-signing-auth-type \
 -d osx_signing_auth_type="ssh"

Response

CODE
{
  "message": "",
  "settings": [{
    "code": "OPT_CODE_OSX_SIGNING_AUTH_TYPE",
    "string_data": "ssh"
  }],
  "status": "OK"
}
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.