I have the following configurations;
- network default (default)
\- PIN access (pin)
I also have a user defined channel "myChannel". This channel is enabled on both configurations, however
- on default, it is set to use the login password as access password, while
- on pin it is set to use the PIN as access password
Code: Select all
curl -X GET --header 'Channel: myChannel' --header 'Accept: application/json' 'https://demo.cyclos.org/api/auth/data-for-login'
Code: Select all
{
"principalTypes": [{
"id": "xxxx",
"name": "Login name",
"internalName": "username",
"kind": "username",
"allowManualInput": false
}],
"defaultPrincipalType": "username",
"loginPasswordInput": {
"id": "xxxx",
"name": "Login password",
"internalName": "loginpassword",
"inputMethod": "textBox",
"mode": "manual",
"minLength": 6,
"maxLength": 32
},
"forgotPasswordMediums": ["email"]
}
Thanks,
Martin.