java.lang.Object
ru.foodtechlab.lib.auth.integration.proxy.api.authorizationSession.v1.controllers.AuthSessionProxyApiController
All Implemented Interfaces:
ru.foodtechlab.lib.auth.service.facade.authorizationSession.endpoints.DisableAuthSessionByDeviceIdEndpoint, ru.foodtechlab.lib.auth.service.facade.authorizationSession.endpoints.DisableAuthSessionByEmailEndpoint, ru.foodtechlab.lib.auth.service.facade.authorizationSession.endpoints.DisableAuthSessionByIdEndpoint, ru.foodtechlab.lib.auth.service.facade.authorizationSession.endpoints.DisableAuthSessionByIpEndpoint, ru.foodtechlab.lib.auth.service.facade.authorizationSession.endpoints.DisableAuthSessionByPhoneNumberEndpoint, ru.foodtechlab.lib.auth.service.facade.authorizationSession.endpoints.DisableAuthSessionByUsernameEndpoint, ru.foodtechlab.lib.auth.service.facade.authorizationSession.endpoints.FindAuthSessionByIdEndpoint, ru.foodtechlab.lib.auth.service.facade.authorizationSession.endpoints.FindAuthSessionsEndpoint, ru.foodtechlab.lib.auth.service.facade.authorizationSession.resources.AuthSessionResource

public class AuthSessionProxyApiController extends Object implements ru.foodtechlab.lib.auth.service.facade.authorizationSession.resources.AuthSessionResource
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.rcore.rest.api.commons.response.OkApiResponse
    disableByDeviceId(ru.foodtechlab.lib.auth.service.facade.authorizationSession.dto.requests.DisableByDeviceIdRequest request)
     
    com.rcore.rest.api.commons.response.OkApiResponse
    disableByEmail(ru.foodtechlab.lib.auth.service.facade.authorizationSession.dto.requests.DisableByEmailRequest request)
     
    com.rcore.rest.api.commons.response.OkApiResponse
     
    com.rcore.rest.api.commons.response.OkApiResponse
    disableByIp(ru.foodtechlab.lib.auth.service.facade.authorizationSession.dto.requests.DisableByIpRequest request)
     
    com.rcore.rest.api.commons.response.OkApiResponse
    disableByPhoneNumber(ru.foodtechlab.lib.auth.service.facade.authorizationSession.dto.requests.DisableByPhoneRequest request)
     
    com.rcore.rest.api.commons.response.OkApiResponse
    disableByUsername(ru.foodtechlab.lib.auth.service.facade.authorizationSession.dto.requests.DisableByUsernameRequest request)
     
    com.rcore.rest.api.commons.response.SuccessApiResponse<com.rcore.rest.api.commons.response.SearchApiResponse<ru.foodtechlab.lib.auth.service.facade.authorizationSession.dto.responses.AuthorizationSessionResponse>>
    find(ru.foodtechlab.lib.auth.service.facade.authorizationSession.dto.requests.SearchAuthorizationSessionsWithFiltersRequest request)
     
    com.rcore.rest.api.commons.response.SuccessApiResponse<ru.foodtechlab.lib.auth.service.facade.authorizationSession.dto.responses.AuthorizationSessionResponse>
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AuthSessionProxyApiController

      public AuthSessionProxyApiController()
  • Method Details

    • disableByDeviceId

      @PostMapping(value="/api/v1/auth-sessions/disable-by-device-id", produces="application/json") public com.rcore.rest.api.commons.response.OkApiResponse disableByDeviceId(@RequestBody ru.foodtechlab.lib.auth.service.facade.authorizationSession.dto.requests.DisableByDeviceIdRequest request)
      Specified by:
      disableByDeviceId in interface ru.foodtechlab.lib.auth.service.facade.authorizationSession.endpoints.DisableAuthSessionByDeviceIdEndpoint
    • disableByEmail

      @PostMapping(value="/api/v1/auth-sessions/disable-by-email", produces="application/json") public com.rcore.rest.api.commons.response.OkApiResponse disableByEmail(@RequestBody ru.foodtechlab.lib.auth.service.facade.authorizationSession.dto.requests.DisableByEmailRequest request)
      Specified by:
      disableByEmail in interface ru.foodtechlab.lib.auth.service.facade.authorizationSession.endpoints.DisableAuthSessionByEmailEndpoint
    • disableById

      @PostMapping(value="/api/v1/auth-sessions/{id}/disable", produces="application/json") public com.rcore.rest.api.commons.response.OkApiResponse disableById(@PathVariable String id)
      Specified by:
      disableById in interface ru.foodtechlab.lib.auth.service.facade.authorizationSession.endpoints.DisableAuthSessionByIdEndpoint
    • disableByIp

      @PostMapping(value="/api/v1/auth-sessions/disable-by-ipv4", produces="application/json") public com.rcore.rest.api.commons.response.OkApiResponse disableByIp(@RequestBody ru.foodtechlab.lib.auth.service.facade.authorizationSession.dto.requests.DisableByIpRequest request)
      Specified by:
      disableByIp in interface ru.foodtechlab.lib.auth.service.facade.authorizationSession.endpoints.DisableAuthSessionByIpEndpoint
    • disableByPhoneNumber

      @PostMapping(value="/api/v1/auth-sessions/disable-by-phone", produces="application/json") public com.rcore.rest.api.commons.response.OkApiResponse disableByPhoneNumber(@RequestBody ru.foodtechlab.lib.auth.service.facade.authorizationSession.dto.requests.DisableByPhoneRequest request)
      Specified by:
      disableByPhoneNumber in interface ru.foodtechlab.lib.auth.service.facade.authorizationSession.endpoints.DisableAuthSessionByPhoneNumberEndpoint
    • findById

      @GetMapping(value="/api/v1/auth-sessions/{id}", produces="application/json") public com.rcore.rest.api.commons.response.SuccessApiResponse<ru.foodtechlab.lib.auth.service.facade.authorizationSession.dto.responses.AuthorizationSessionResponse> findById(@PathVariable String id)
      Specified by:
      findById in interface ru.foodtechlab.lib.auth.service.facade.authorizationSession.endpoints.FindAuthSessionByIdEndpoint
    • find

      @GetMapping(value="/api/v1/auth-sessions", produces="application/json") public com.rcore.rest.api.commons.response.SuccessApiResponse<com.rcore.rest.api.commons.response.SearchApiResponse<ru.foodtechlab.lib.auth.service.facade.authorizationSession.dto.responses.AuthorizationSessionResponse>> find(@ModelAttribute ru.foodtechlab.lib.auth.service.facade.authorizationSession.dto.requests.SearchAuthorizationSessionsWithFiltersRequest request)
      Specified by:
      find in interface ru.foodtechlab.lib.auth.service.facade.authorizationSession.endpoints.FindAuthSessionsEndpoint
    • disableByUsername

      @PostMapping(value="/api/v1/auth-sessions/disable-by-username", produces="application/json") public com.rcore.rest.api.commons.response.OkApiResponse disableByUsername(ru.foodtechlab.lib.auth.service.facade.authorizationSession.dto.requests.DisableByUsernameRequest request)
      Specified by:
      disableByUsername in interface ru.foodtechlab.lib.auth.service.facade.authorizationSession.endpoints.DisableAuthSessionByUsernameEndpoint