AGSCredential *myCredential = [[AGSCredential alloc] initWithUser:[jsonDict objectForKey:@username] password:[jsonDict objectForKey:@password] authenticationType:AGSAuthenticationTypeToken tokenUrl:url];
myCredential.token;
NSError *serviceError = nil; AGSMapServiceInfo *serviceInfo = [[AGSMapServiceInfo alloc] initWithURL:mapServiceEndpoint credential:myCredential error:&serviceError];
Please go through secured services document and let me know if you have any specific question.Regards,Nimesh
No, it is server's responsibility. Regards,Nimesh
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.