Hi All,
Need help in developing a logout in my google apps.
the scenario would be my web application will have a logout button
that will log out the user in my web application and to his google
apps email. (SSO is already in my web app) But i also want to have a
single logout..
But beforehand i would liket to ask if this is possible in web
application..?
Btw, I don't know if this correct, i've found an API using a
revokeToken method.
for clarification, I'm using the SAML for authentication.. ( my
application is for mail )
According to the API revokeToken needs token and key
(AsymmetricAlgorithm)
revokeToken(string token, AsymmetricAlgorithm key)
Here comes the problem..
Where can i get the token and key?
Here's the code that I use in SSO:
private void SetupGoogleLoginForm(string userName)
{
string samlRequest = <provided by Google>;
string relayState = <relay state provided by Google>";
if (samlRequest != null && relayState != null)
{
string responseXml;
string actionUrl;
SamlParser.CreateSignedResponse(samlRequest, userName, out
responseXml, out actionUrl);
this.actionUrl = actionUrl;
SAMLResponse.Value = responseXml;
RelayState.Value = relayState;
}
}
now, where will i get the token from this code.? should I use the
responseXML as a token in the parameter in the revokeToken? and where
will I find the key? is this the key that I used in my SSO?
THANKS!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Apps APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-apps-apis?hl=en
-~----------~----~----~----~------~----~------~--~---