Interface AuthorizationApi

    • Method Detail

      • authorize

        @Named("oauth2:authorize")
        @POST
        @Consumes("application/json")
        Token authorize​(@FormParam("assertion")
                        Claims claims)
      • authorizeClientSecret

        @Named("oauth2:authorize_client_secret")
        @POST
        @Consumes("application/json")
        Token authorizeClientSecret​(@FormParam("client_id")
                                    String client_id,
                                    @FormParam("client_secret")
                                    String client_secret,
                                    @FormParam("resource")
                                    String resource,
                                    @FormParam("scope") @Nullable
                                    String scope)
      • authorize

        @Named("oauth2:authorize_client_p12")
        @POST
        @Consumes("application/json")
        Token authorize​(@FormParam("client_id")
                        String client_id,
                        @FormParam("client_assertion")
                        ClientCredentialsClaims claim,
                        @FormParam("resource")
                        String resource,
                        @FormParam("scope") @Nullable
                        String scope)