Class LinkedAccountsResource
- java.lang.Object
-
- org.keycloak.services.resources.account.LinkedAccountsResource
-
public class LinkedAccountsResource extends Object
API for linking/unlinking social login accounts- Author:
- Stan Silvert
-
-
Constructor Summary
Constructors Constructor Description LinkedAccountsResource(KeycloakSession session, HttpRequest request, Auth auth, EventBuilder event, UserModel user)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description javax.ws.rs.core.Response
buildLinkedAccountURI(String providerId, String redirectUri)
Deprecated.SortedSet<LinkedAccountRepresentation>
getLinkedAccounts(KeycloakSession session, RealmModel realm, UserModel user)
javax.ws.rs.core.Response
linkedAccounts()
javax.ws.rs.core.Response
removeLinkedAccount(String providerId)
-
-
-
Constructor Detail
-
LinkedAccountsResource
public LinkedAccountsResource(KeycloakSession session, HttpRequest request, Auth auth, EventBuilder event, UserModel user)
-
-
Method Detail
-
linkedAccounts
@GET @Path("/") @Produces("application/json") public javax.ws.rs.core.Response linkedAccounts()
-
getLinkedAccounts
public SortedSet<LinkedAccountRepresentation> getLinkedAccounts(KeycloakSession session, RealmModel realm, UserModel user)
-
buildLinkedAccountURI
@GET @Path("/{providerId}") @Produces("application/json") @Deprecated public javax.ws.rs.core.Response buildLinkedAccountURI(@PathParam("providerId") String providerId, @QueryParam("redirectUri") String redirectUri)
Deprecated.
-
removeLinkedAccount
@DELETE @Path("/{providerId}") @Produces("application/json") public javax.ws.rs.core.Response removeLinkedAccount(@PathParam("providerId") String providerId)
-
-