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
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
{
"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
Parameter | Description |
---|---|
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"
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"
Response
{
"message": "",
"settings": [{
"code": "OPT_CODE_OSX_SIGNING_AUTH_TYPE",
"string_data": "ssh"
}],
"status": "OK"
}