Class ClientInitialAccessResource
- java.lang.Object
-
- org.keycloak.services.resources.admin.ClientInitialAccessResource
-
public class ClientInitialAccessResource extends Object
- Author:
- Stian Thorgersen
-
-
Field Summary
Fields Modifier and Type Field Description protected KeycloakSession
session
-
Constructor Summary
Constructors Constructor Description ClientInitialAccessResource(KeycloakSession session, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClientInitialAccessPresentation
create(ClientInitialAccessCreatePresentation config)
Create a new initial access token.void
delete(String id)
Stream<ClientInitialAccessPresentation>
list()
-
-
-
Field Detail
-
session
protected KeycloakSession session
-
-
Constructor Detail
-
ClientInitialAccessResource
public ClientInitialAccessResource(KeycloakSession session, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent)
-
-
Method Detail
-
create
@POST @Consumes("application/json") @Produces("application/json") public ClientInitialAccessPresentation create(ClientInitialAccessCreatePresentation config)
Create a new initial access token.- Parameters:
config
-- Returns:
-
list
@GET @Produces("application/json") public Stream<ClientInitialAccessPresentation> list()
-
delete
@DELETE @Path("{id}") public void delete(@PathParam("id") String id)
-
-