Class AuthorizedClientEndpoint


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

      • readAllAuthorizedClients

        @FrameworkGetMapping
        @Policy(permissionRoots="AUTHORIZATION_SERVER",
                operationTypes=READ)
        public org.springframework.data.domain.Page<AuthorizedClient> readAllAuthorizedClients​(@PathVariable("serverId")
                                                                                               String serverId,
                                                                                               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)