google / identity-toolkit-java-client

Google Identity Toolkit client library for Java
Apache License 2.0
37 stars 27 forks source link

Provide access to ALL configuration parameters #22

Open robert4os opened 9 years ago

robert4os commented 9 years ago

Hi,

1) To handle sign out, I understand the token cookie has to be deleted, however to do this one has to know its name. Since GitkitClient is initialized with the cookie name it would be convenient if it would be possible to access it without having to parse the original configuration input. i.e. provide gitkitClient.getCookieName()

2) After signout it makes sense to redirect the user to the original signin/widget url as a confirmation of his signout. Again it would be useful to get the widget Url directly from GitkitClient i.e. provide gitkitClient.getWidgetUrl()

thank you and best regards - Robert