public interface OAuthTokenExtractor
OAuthTokenFinishfrom a given URL string. Such URLs a are typically callback URLs called by an oauth provider who adds token and status fields to such an URL.
OAuthTokenExtractorsprovides some predefined OAuthTokenExtractors.
OAuthTokenFinish parse(java.lang.String urlWithToken) throws java.lang.NoSuchFieldException
OAuthTokenFinishfrom a given URL. It has to fail with an exception instead of returning null.
urlWithToken- The callback URL as it is invoked by the oauth provider
OAuthTokenFinishwith a token and sometimes a state secret
java.lang.NoSuchFieldException- Thrown if the URL does not contain a token or a state field (depending on the implementation)
Syncany is an open-source cloud storage and filesharing application.
Code located at https://github.com/syncany/syncany
JavaDoc for version 0.4.9-alpha generated based on commit f2749f7 at Thu Feb 16 08:16:44 UTC 2017
Copyright © 2011-2015 Philipp C. Heckel