How do I determine if a specified service is secured or not.

Discussion created by gmeister-esristaff on Apr 9, 2014
Latest reply on Apr 15, 2014 by gmeister-esristaff
How can programmatically determine if a specified service has been secured or not. Ideally the application should check to see if the service is secure or not before trying to get a token.

As Admin I can secure a single service, so expect some way to test that without having to trying hitting the service and if I get an error try adding a token.