Commit Windows Project files
This commit is contained in:
@@ -619,6 +619,7 @@ int main
|
||||
|
||||
strcpy((char*)credential.username, "AppUsername");
|
||||
strcpy((char*)credential.password, "AppPassword");
|
||||
credential.unFlags = USERNAME_TYPE_NDS_FDN_F;
|
||||
|
||||
// sets the secret specific to the app
|
||||
rcode = miCASASetCredential(
|
||||
@@ -633,12 +634,12 @@ int main
|
||||
|
||||
memset(&credential, 0, sizeof(SSCS_BASIC_CREDENTIAL));
|
||||
|
||||
credential.unFlags = USERNAME_TYPE_NDS_DN_F;
|
||||
credential.unFlags = USERNAME_TYPE_NDS_FDN_F;
|
||||
// gets the sharedcredential
|
||||
rcode = miCASAGetCredential(
|
||||
0,
|
||||
&appSecretId, //char * appSecretID, // IN
|
||||
&sharedSecretId, //char * sharedSecretID, // Optional IN
|
||||
NULL, //&sharedSecretId, //char * sharedSecretID, // Optional IN
|
||||
0, //int * credentialType, // IN/OUT
|
||||
&credential, //void * credential, // OUT
|
||||
NULL //SSCS_EXT_T * ext // Reserved
|
||||
|
||||
Reference in New Issue
Block a user