Skip to content

Latest commit

 

History

History
53 lines (34 loc) · 2.41 KB

File metadata and controls

53 lines (34 loc) · 2.41 KB

Miscellaneous

Overview

Available Operations

getPublicInterstitial

The Clerk interstitial endpoint serves an html page that loads clerk.js in order to check the user's authentication state. It is used by Clerk SDKs when the user's authentication state cannot be immediately determined.

Example Usage

package hello.world;

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

public class Application {

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

        Clerk sdk = Clerk.builder()
            .build();

        GetPublicInterstitialResponse res = sdk.miscellaneous().getPublicInterstitial()
                .call();

        // handle response
    }
}

Parameters

Parameter Type Required Description
request GetPublicInterstitialRequest ✔️ The request object to use for the request.

Response

GetPublicInterstitialResponse

Errors

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