Interface GoogleMfaAuthTokenService

All Superinterfaces:
org.apache.syncope.common.rest.api.service.JAXRSService

@Path("wa/gauth/tokens") public interface GoogleMfaAuthTokenService extends org.apache.syncope.common.rest.api.service.JAXRSService
  • Field Summary

    Fields inherited from interface org.apache.syncope.common.rest.api.service.JAXRSService

    CRLF, DOUBLE_DASH, PARAM_ANYTYPE_KIND, PARAM_ANYTYPEKEY, PARAM_CONNID_PAGED_RESULTS_COOKIE, PARAM_DETAILS, PARAM_ENTITY_KEY, PARAM_FIQL, PARAM_KEYWORD, PARAM_MAX, PARAM_NOTIFICATION, PARAM_ORDERBY, PARAM_PAGE, PARAM_REALM, PARAM_RECURSIVE, PARAM_RESOURCE, PARAM_SIZE, PARAM_USER
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    delete(@jakarta.validation.constraints.NotNull int otp)
     
    void
    delete(@NotNull String owner)
     
    void
    delete(@NotNull String owner, @jakarta.validation.constraints.NotNull int otp)
     
    void
    delete(LocalDateTime expirationDate)
     
    org.apache.syncope.common.lib.to.PagedResult<org.apache.syncope.common.lib.wa.GoogleMfaAuthToken>
     
    org.apache.syncope.common.lib.to.PagedResult<org.apache.syncope.common.lib.wa.GoogleMfaAuthToken>
    read(@NotNull String owner)
     
    org.apache.syncope.common.lib.wa.GoogleMfaAuthToken
    read(@NotNull String owner, @jakarta.validation.constraints.NotNull int otp)
     
    void
    store(@NotNull String owner, @NotNull org.apache.syncope.common.lib.wa.GoogleMfaAuthToken token)
     
  • Method Details

    • delete

      @DELETE @Consumes({"application/json","application/yaml","application/xml"}) @Produces({"application/json","application/yaml","application/xml"}) void delete(@QueryParam("expirationDate") LocalDateTime expirationDate)
    • delete

      @DELETE @Path("{owner}/{otp}") @Consumes({"application/json","application/yaml","application/xml"}) @Produces({"application/json","application/yaml","application/xml"}) void delete(@NotNull @PathParam("owner") @NotNull String owner, @NotNull @PathParam("otp") @jakarta.validation.constraints.NotNull int otp)
    • delete

      @DELETE @Path("{owner}") @Consumes({"application/json","application/yaml","application/xml"}) @Produces({"application/json","application/yaml","application/xml"}) void delete(@NotNull @PathParam("owner") @NotNull String owner)
    • delete

      @DELETE @Path("otp/{otp}") @Consumes({"application/json","application/yaml","application/xml"}) @Produces({"application/json","application/yaml","application/xml"}) void delete(@NotNull @PathParam("otp") @jakarta.validation.constraints.NotNull int otp)
    • store

      @PUT @Path("{owner}") @Consumes({"application/json","application/yaml","application/xml"}) @Produces({"application/json","application/yaml","application/xml"}) void store(@NotNull @PathParam("owner") @NotNull String owner, @NotNull @NotNull org.apache.syncope.common.lib.wa.GoogleMfaAuthToken token)
    • read

      @GET @Consumes({"application/json","application/yaml","application/xml"}) @Produces({"application/json","application/yaml","application/xml"}) @Path("{owner}/{otp}") org.apache.syncope.common.lib.wa.GoogleMfaAuthToken read(@NotNull @PathParam("owner") @NotNull String owner, @NotNull @PathParam("otp") @jakarta.validation.constraints.NotNull int otp)
    • read

      @GET @Consumes({"application/json","application/yaml","application/xml"}) @Produces({"application/json","application/yaml","application/xml"}) @Path("{owner}") org.apache.syncope.common.lib.to.PagedResult<org.apache.syncope.common.lib.wa.GoogleMfaAuthToken> read(@NotNull @PathParam("owner") @NotNull String owner)
    • list

      @GET @Consumes({"application/json","application/yaml","application/xml"}) @Produces({"application/json","application/yaml","application/xml"}) org.apache.syncope.common.lib.to.PagedResult<org.apache.syncope.common.lib.wa.GoogleMfaAuthToken> list()