com.force.sdk.oauth.userdata
Class CustomUserDataRetriever<T extends CustomSecurityContext>
java.lang.Object
com.force.sdk.oauth.userdata.ForceUserDataRetriever
com.force.sdk.oauth.userdata.CustomUserDataRetriever<T>
- Type Parameters:
T
- The class that this custom user data retriever will return
- All Implemented Interfaces:
- UserDataRetriever
public abstract class CustomUserDataRetriever<T extends CustomSecurityContext>
- extends ForceUserDataRetriever
When a custom user data retrieval flow is used this class must be extended and must be parameterized with
the application specific extension of CustomSecurityContext.
- Author:
- John Simone
Method Summary |
abstract T |
retrieveUserData()
Retrieve data about the authenticated user and return a CustomSecurityContext
that stores the data. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomUserDataRetriever
public CustomUserDataRetriever()
retrieveUserData
public abstract T retrieveUserData()
- Retrieve data about the authenticated user and return a CustomSecurityContext
that stores the data.
- Specified by:
retrieveUserData
in interface UserDataRetriever
- Overrides:
retrieveUserData
in class ForceUserDataRetriever
- Returns:
- T an extension of CustomSecurityContext
Copyright © 2011. All Rights Reserved.