- get_public_interstitial - 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.
require 'clerk_sdk_ruby'
Models = ::Clerk::Models
s = ::Clerk::OpenAPIClient.new
req = Models::Operations::GetPublicInterstitialRequest.new(
frontend_api_query_parameter1: 'pub_1a2b3c4d'
)
res = s.miscellaneous.get_public_interstitial(request: req)
if res.status_code == 200
# handle response
end| Parameter | Type | Required | Description |
|---|---|---|---|
request |
Models::Operations::GetPublicInterstitialRequest | ✔️ | The request object to use for the request. |
Crystalline::Nilable.new(Models::Operations::GetPublicInterstitialResponse)
| Error Type | Status Code | Content Type |
|---|---|---|
| Errors::APIError | 4XX, 5XX | */* |