Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 1.03 KB

README.md

File metadata and controls

49 lines (32 loc) · 1.03 KB

Jwks

(jwks())

Overview

Available Operations

  • get - Retrieve the JSON Web Key Set of the instance

get

Retrieve the JSON Web Key Set of the instance

Example Usage

package hello.world;

import com.clerk.backend_api.Clerk;
import com.clerk.backend_api.models.operations.GetJWKSResponse;
import java.lang.Exception;

public class Application {

    public static void main(String[] args) throws Exception {

        Clerk sdk = Clerk.builder()
                .bearerAuth("<YOUR_BEARER_TOKEN_HERE>")
            .build();

        GetJWKSResponse res = sdk.jwks().get()
                .call();

        if (res.wellKnownJWKS().isPresent()) {
            // handle response
        }
    }
}

Response

GetJWKSResponse

Errors

Error Type Status Code Content Type
models/errors/SDKError 4XX, 5XX */*