Package org.apache.camel.oauth
Class OAuth
java.lang.Object
org.apache.camel.oauth.OAuth
- Direct Known Subclasses:
ServletOAuth,VertxOAuth
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringprotected OAuthConfigprotected final org.slf4j.Loggerprotected OAuthSessionStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract UserProfileauthenticate(Credentials creds) abstract Stringabstract StringcreateSession(org.apache.camel.Exchange exchange) abstract voiddiscoverOAuthConfig(org.apache.camel.CamelContext ctx) getSession(org.apache.camel.Exchange exchange)
-
Field Details
-
log
protected final org.slf4j.Logger log -
CAMEL_OAUTH_BASE_URI
- See Also:
-
CAMEL_OAUTH_CLIENT_ID
- See Also:
-
CAMEL_OAUTH_CLIENT_SECRET
- See Also:
-
CAMEL_OAUTH_LOGOUT_REDIRECT_URI
- See Also:
-
CAMEL_OAUTH_REDIRECT_URI
- See Also:
-
CAMEL_OAUTH_SESSION_ID
- See Also:
-
CAMEL_OAUTH_COOKIE
- See Also:
-
config
-
sessionStore
-
-
Constructor Details
-
OAuth
public OAuth()
-
-
Method Details
-
discoverOAuthConfig
- Throws:
OAuthException
-
getOAuthConfig
-
authenticate
- Throws:
OAuthException
-
buildLogoutRequestUrl
-
buildCodeFlowAuthRequestUrl
-
getSessionStore
-
getSession
-
createSession
-