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

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

Response

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

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

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"
CODE

 This example sets the authentication method to ssh:

Request

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"
CODE

Response

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