Package org.syncany.plugins.transfer.oauth
-
Interface Summary Interface Description OAuthGenerator ForTransferPlugins that base their authentication on OAuth, a generator class can be used to create the authentication URL and check the user-provided token.OAuthGenerator.WithExtractor Use a customOAuthTokenExtractorinstead of the default one which depends on theOAuthModein use.OAuthGenerator.WithInterceptor Use a customOAuthTokenInterceptorinstead of the default one which depends on theOAuthModein use.OAuthGenerator.WithNoRedirectMode If an OAuth based plugin also supports copy&pasting a token from a website it should extend this interface.OAuthTokenExtractor A OAuthTokenExtractor is responsible for the extraction of anOAuthTokenFinishfrom a given URL string.OAuthTokenInterceptor A OAuthTokenInterceptor is an extension of anHttpHandlerwhich intercepts calls to a callback URL depending on the queried path. -
Class Summary Class Description OAuthTokenExtractors Factory class to generate some commonOAuthTokenExtractors.OAuthTokenExtractors.NamedQueryTokenExtractor AOAuthTokenExtractors.NamedQueryTokenExtractoris a simpleOAuthTokenExtractorwhich looks for a token and a CSRF secret in the redirect URL.OAuthTokenFinish AOAuthTokenFinishis a container to hold a pair of a token and a CSRF field.OAuthTokenInterceptors Factory class to generate some commonOAuthTokenInterceptors.OAuthTokenInterceptors.HashTokenInterceptor OAuthTokenInterceptorimplementation which bypasses some protection mechanisms to allow the token extraction.OAuthTokenInterceptors.RedirectTokenInterceptor AOAuthTokenInterceptors.RedirectTokenInterceptorcan be seen as an emptyOAuthTokenInterceptorbecause it only redirects to the next step of the OAuth process which is the extraction of the token from the URL.OAuthTokenWebListener This class creates a server handling the OAuth callback URLs.OAuthTokenWebListener.Builder OAuthWebResponses Factory class to generate some commonOAuthWebResponses. -
Enum Summary Enum Description OAuthMode OAuth basically provides two different types of implicit grant. -
Annotation Types Summary Annotation Type Description OAuth This annotation is used to identify OAuth plugins by marking the correspondingTransferSettingsclass.