Interface GoogleMfaAuthTokenService
- All Superinterfaces:
JAXRSService
- All Known Implementing Classes:
GoogleMfaAuthTokenServiceImpl
-
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 TypeMethodDescriptionvoid
delete
(@jakarta.validation.constraints.NotNull int otp) void
void
void
delete
(LocalDateTime expirationDate) list()
void
store
(@NotNull String owner, @NotNull GoogleMfaAuthToken token)
-
Method Details
-
delete
@DELETE @Path("tokens") @Consumes({"application/json","application/yaml","application/xml"}) @Produces({"application/json","application/yaml","application/xml"}) void delete(@QueryParam("expirationDate") LocalDateTime expirationDate) -
delete
@DELETE @Path("tokens/{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
-
store
-
read
@GET @Consumes({"application/json","application/yaml","application/xml"}) @Produces({"application/json","application/yaml","application/xml"}) @Path("tokens/{owner}/{otp}") 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("tokens/{owner}") PagedResult<GoogleMfaAuthToken> read(@NotNull @PathParam("owner") @NotNull String owner) -
list
@GET @Consumes({"application/json","application/yaml","application/xml"}) @Produces({"application/json","application/yaml","application/xml"}) @Path("tokens") PagedResult<GoogleMfaAuthToken> list()
-