Class IdentityController

java.lang.Object
com.irurueta.authserver.authorization.api.web.social.IdentityController
All Implemented Interfaces:
IdentitiesApi

@RestController public class IdentityController extends Object implements IdentitiesApi
Manages the identities of external providers linked to the authenticated account (the operations of the contract). Linking one is not here: it happens when the user signs in with the provider (the verified e-mail address, or the provisioning of a new account), so the API lists and unlinks.
  • Field Details

    • currentAccountResolver

      private final CurrentAccountResolver currentAccountResolver
      Resolves the account of the request.
    • listIdentitiesUseCase

      private final ListIdentitiesUseCase listIdentitiesUseCase
      Lists the identities of an account.
    • unlinkIdentityUseCase

      private final UnlinkIdentityUseCase unlinkIdentityUseCase
      Unlinks an identity.
    • stepUpGuard

      private final StepUpGuard stepUpGuard
      Requires a recent multi-factor sign-in before an identity is unlinked.
    • identityDtoMapper

      private final IdentityDtoMapper identityDtoMapper
      Maps the identities onto the contract's DTOs.
  • Constructor Details

    • IdentityController

      public IdentityController()
  • Method Details