So I now know I need to use 3-Legged OAuth to utilize the Provisioning API with the.Net libraries. I have an idea of how to do it, by have someone log in and getting the token from a returning url, then using the token and keys to authorize the client. My question is can I get a token without having to do a url redirect and having someone sign in? The idea is to have an automatic process that has admin credentials for our Google Apps that can create and update users. The process will have the username and password already. Thanks in advance.
--
You received this message because you are subscribed to the Google Groups "Google Apps Domain Information and Management APIs" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-apps-mgmt-apis/-/7wNibeLeU-UJ.
To post to this group, send email to google-app...@googlegroups.com.
To unsubscribe from this group, send email to google-apps-mgmt...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-apps-mgmt-apis?hl=en.
If I create and use a token through the OAuth Playground, how long is that token good for? So far I've used one for about 3 1/2 hours and it still works. I've also gotten all the authentication working and can use the Provisioning API through my code.
Right now the question I'm facing is I'm assuming the token will expire sometime, so I want to have a process to create a token when I need it (if that's even necessary). I've been looking through the GData Documentation, and I'll keep looking.
--
You received this message because you are subscribed to the Google Groups "Google Apps Domain Information and Management APIs" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-apps-mgmt-apis/-/goPvoYHJPHUJ.