(Miscellaneous)
- GetPublicInterstitial - Returns the markup for the interstitial page
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.
using Clerk.BackendAPI;
using Clerk.BackendAPI.Models.Operations;
var sdk = new ClerkBackendApi();
GetPublicInterstitialRequest req = new GetPublicInterstitialRequest() {
FrontendApiQueryParameter1 = "pub_1a2b3c4d",
};
var res = await sdk.Miscellaneous.GetPublicInterstitialAsync(req);
// handle response
Parameter | Type | Required | Description |
---|---|---|---|
request |
GetPublicInterstitialRequest | ✔️ | The request object to use for the request. |
Error Type | Status Code | Content Type |
---|---|---|
Clerk.BackendAPI.Models.Errors.SDKError | 4XX, 5XX | */* |