Package org.apache.camel.oauth
Class UserProfile
java.lang.Object
org.apache.camel.oauth.UserProfile
- Direct Known Subclasses:
VertxUserProfile
-
Constructor Summary
ConstructorsConstructorDescriptionUserProfile(com.google.gson.JsonObject principal, com.google.gson.JsonObject attributes) -
Method Summary
Modifier and TypeMethodDescriptionbooleanexpired()static UserProfilefromJson(OAuthConfig config, com.google.gson.JsonObject json) com.google.gson.JsonElementidToken()voidlogDetails(String prefix) voidmerge(UserProfile other) subject()longttl()
-
Constructor Details
-
UserProfile
public UserProfile(com.google.gson.JsonObject principal, com.google.gson.JsonObject attributes)
-
-
Method Details
-
fromJson
-
attributes
-
principal
-
expired
public boolean expired() -
ttl
public long ttl() -
subject
-
accessToken
-
idToken
-
refreshToken
-
getClaim
-
merge
-
logDetails
-