Class GoogleAdapter
- java.lang.Object
-
- org.springframework.social.google.connect.GoogleAdapter
-
-
Constructor Summary
Constructors Constructor Description GoogleAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.social.connect.UserProfilefetchUserProfile(Google google)Return the current user profile.voidsetConnectionValues(Google google, org.springframework.social.connect.ConnectionValues values)Set a value on the connection.booleantest(Google google)Attempt to see if the connection is valid.voidupdateStatus(Google google, String message)
-
-
-
Method Detail
-
test
public boolean test(Google google)
Attempt to see if the connection is valid.- Specified by:
testin interfaceorg.springframework.social.connect.ApiAdapter<Google>
-
setConnectionValues
public void setConnectionValues(Google google, org.springframework.social.connect.ConnectionValues values)
Set a value on the connection.- Specified by:
setConnectionValuesin interfaceorg.springframework.social.connect.ApiAdapter<Google>
-
fetchUserProfile
public org.springframework.social.connect.UserProfile fetchUserProfile(Google google)
Return the current user profile.- Specified by:
fetchUserProfilein interfaceorg.springframework.social.connect.ApiAdapter<Google>
-
-