Class AuthorizedClientEndpoint

java.lang.Object
com.broadleafcommerce.auth.server.web.endpoint.AuthorizedClientEndpoint

@FrameworkRestController @FrameworkMapping("/servers/{serverId}/clients") public class AuthorizedClientEndpoint extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • readAllAuthorizedClients

      @FrameworkGetMapping @Policy(permissionRoots="AUTHORIZATION_SERVER", operationTypes=READ) public org.springframework.data.domain.Page<AuthorizedClient> readAllAuthorizedClients(@PathVariable("serverId") String serverId, @PageableDefault(size=50) org.springframework.data.domain.Pageable pageable)
    • readAuthorizedClientById

      @FrameworkGetMapping("/{id}") @Policy(permissionRoots="AUTHORIZATION_SERVER", operationTypes=READ) public AuthorizedClient readAuthorizedClientById(@PathVariable("serverId") String serverId, @PathVariable("id") String id)
    • replaceAuthorizedClientById

      @FrameworkPutMapping("/{id}") @Policy(permissionRoots="AUTHORIZATION_SERVER", operationTypes=UPDATE) public AuthorizedClient replaceAuthorizedClientById(@PathVariable("serverId") String serverId, @PathVariable("id") String id, @RequestBody AuthorizedClient authorizedClient)
    • createAuthorizedClient

      @FrameworkPostMapping @Policy(permissionRoots="AUTHORIZATION_SERVER", operationTypes=CREATE) public AuthorizedClient createAuthorizedClient(@PathVariable("serverId") String serverId, @RequestBody AuthorizedClient authorizedClient)
    • delete

      @FrameworkDeleteMapping("/{id}") @Policy(permissionRoots="AUTHORIZATION_SERVER", operationTypes=DELETE) public void delete(@PathVariable("serverId") String serverId, @PathVariable("id") String id)