Package com.okta.sdk.resource.api
Class CustomPagesApi
java.lang.Object
com.okta.sdk.resource.api.CustomPagesApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-09-23T16:19:57.008753975Z[Etc/UTC]",
comments="Generator version: 7.8.0")
public class CustomPagesApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteCustomizedErrorPage(String brandId) Delete the Customized Error Page Deletes the customized error page.voiddeleteCustomizedErrorPage(String brandId, Map<String, String> additionalHeaders) Delete the Customized Error Page Deletes the customized error page.voiddeleteCustomizedSignInPage(String brandId) Delete the Customized Sign-in Page Deletes the customized sign-in page.voiddeleteCustomizedSignInPage(String brandId, Map<String, String> additionalHeaders) Delete the Customized Sign-in Page Deletes the customized sign-in page.voiddeletePreviewErrorPage(String brandId) Delete the Preview Error Page Deletes the preview error page.voiddeletePreviewErrorPage(String brandId, Map<String, String> additionalHeaders) Delete the Preview Error Page Deletes the preview error page.voiddeletePreviewSignInPage(String brandId) Delete the Preview Sign-in Page Deletes the preview sign-in page.voiddeletePreviewSignInPage(String brandId, Map<String, String> additionalHeaders) Delete the Preview Sign-in Page Deletes the preview sign-in page.getCustomizedErrorPage(String brandId) Retrieve the Customized Error Page Retrieves the customized error page.getCustomizedErrorPage(String brandId, Map<String, String> additionalHeaders) Retrieve the Customized Error Page Retrieves the customized error page.getCustomizedSignInPage(String brandId) Retrieve the Customized Sign-in Page Retrieves the customized sign-in page.getCustomizedSignInPage(String brandId, Map<String, String> additionalHeaders) Retrieve the Customized Sign-in Page Retrieves the customized sign-in page.getDefaultErrorPage(String brandId) Retrieve the Default Error Page Retrieves the default error page.getDefaultErrorPage(String brandId, Map<String, String> additionalHeaders) Retrieve the Default Error Page Retrieves the default error page.getDefaultSignInPage(String brandId) Retrieve the Default Sign-in Page Retrieves the default sign-in page.getDefaultSignInPage(String brandId, Map<String, String> additionalHeaders) Retrieve the Default Sign-in Page Retrieves the default sign-in page.getErrorPage(String brandId, List<String> expand) Retrieve the Error Page Sub-Resources Retrieves the error page sub-resources.Retrieve the Error Page Sub-Resources Retrieves the error page sub-resources.protected static com.fasterxml.jackson.databind.ObjectMappergetPreviewErrorPage(String brandId) Retrieve the Preview Error Page Preview Retrieves the preview error page.getPreviewErrorPage(String brandId, Map<String, String> additionalHeaders) Retrieve the Preview Error Page Preview Retrieves the preview error page.getPreviewSignInPage(String brandId) Retrieve the Preview Sign-in Page Preview Retrieves the preview sign-in page.getPreviewSignInPage(String brandId, Map<String, String> additionalHeaders) Retrieve the Preview Sign-in Page Preview Retrieves the preview sign-in page.getSignInPage(String brandId, List<String> expand) Retrieve the Sign-in Page Sub-Resources Retrieves the sign-in page sub-resources.Retrieve the Sign-in Page Sub-Resources Retrieves the sign-in page sub-resources.getSignOutPageSettings(String brandId) Retrieve the Sign-out Page Settings Retrieves the sign-out page settingsgetSignOutPageSettings(String brandId, Map<String, String> additionalHeaders) Retrieve the Sign-out Page Settings Retrieves the sign-out page settingslistAllSignInWidgetVersions(String brandId) List all Sign-in Widget Versions Lists all sign-in widget versions supported by the current orglistAllSignInWidgetVersions(String brandId, Map<String, String> additionalHeaders) List all Sign-in Widget Versions Lists all sign-in widget versions supported by the current orgreplaceCustomizedErrorPage(String brandId, ErrorPage errorPage) Replace the Customized Error Page Replaces the customized error page.replaceCustomizedErrorPage(String brandId, ErrorPage errorPage, Map<String, String> additionalHeaders) Replace the Customized Error Page Replaces the customized error page.replaceCustomizedSignInPage(String brandId, SignInPage signInPage) Replace the Customized Sign-in Page Replaces the customized sign-in page.replaceCustomizedSignInPage(String brandId, SignInPage signInPage, Map<String, String> additionalHeaders) Replace the Customized Sign-in Page Replaces the customized sign-in page.replacePreviewErrorPage(String brandId, ErrorPage errorPage) Replace the Preview Error Page Replaces the preview error page.Replace the Preview Error Page Replaces the preview error page.replacePreviewSignInPage(String brandId, SignInPage signInPage) Replace the Preview Sign-in Page Replaces the preview sign-in page.replacePreviewSignInPage(String brandId, SignInPage signInPage, Map<String, String> additionalHeaders) Replace the Preview Sign-in Page Replaces the preview sign-in page.replaceSignOutPageSettings(String brandId, HostedPage hostedPage) Replace the Sign-out Page Settings Replaces the sign-out page settingsreplaceSignOutPageSettings(String brandId, HostedPage hostedPage, Map<String, String> additionalHeaders) Replace the Sign-out Page Settings Replaces the sign-out page settingsvoidsetApiClient(ApiClient apiClient)
-
Constructor Details
-
CustomPagesApi
public CustomPagesApi() -
CustomPagesApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
deleteCustomizedErrorPage
Delete the Customized Error Page Deletes the customized error page. As a result, the default error page appears in your live environment.- Parameters:
brandId- The ID of the brand (required)- Throws:
ApiException- if fails to make API call
-
deleteCustomizedErrorPage
public void deleteCustomizedErrorPage(String brandId, Map<String, String> additionalHeaders) throws ApiExceptionDelete the Customized Error Page Deletes the customized error page. As a result, the default error page appears in your live environment.- Parameters:
brandId- The ID of the brand (required)additionalHeaders- additionalHeaders for this call- Throws:
ApiException- if fails to make API call
-
deleteCustomizedSignInPage
Delete the Customized Sign-in Page Deletes the customized sign-in page. As a result, the default sign-in page appears in your live environment.- Parameters:
brandId- The ID of the brand (required)- Throws:
ApiException- if fails to make API call
-
deleteCustomizedSignInPage
public void deleteCustomizedSignInPage(String brandId, Map<String, String> additionalHeaders) throws ApiExceptionDelete the Customized Sign-in Page Deletes the customized sign-in page. As a result, the default sign-in page appears in your live environment.- Parameters:
brandId- The ID of the brand (required)additionalHeaders- additionalHeaders for this call- Throws:
ApiException- if fails to make API call
-
deletePreviewErrorPage
Delete the Preview Error Page Deletes the preview error page. The preview error page contains unpublished changes and isn't shown in your live environment. Preview it at `${yourOktaDomain}/error/preview`.- Parameters:
brandId- The ID of the brand (required)- Throws:
ApiException- if fails to make API call
-
deletePreviewErrorPage
public void deletePreviewErrorPage(String brandId, Map<String, String> additionalHeaders) throws ApiExceptionDelete the Preview Error Page Deletes the preview error page. The preview error page contains unpublished changes and isn't shown in your live environment. Preview it at `${yourOktaDomain}/error/preview`.- Parameters:
brandId- The ID of the brand (required)additionalHeaders- additionalHeaders for this call- Throws:
ApiException- if fails to make API call
-
deletePreviewSignInPage
Delete the Preview Sign-in Page Deletes the preview sign-in page. The preview sign-in page contains unpublished changes and isn't shown in your live environment. Preview it at `${yourOktaDomain}/login/preview`.- Parameters:
brandId- The ID of the brand (required)- Throws:
ApiException- if fails to make API call
-
deletePreviewSignInPage
public void deletePreviewSignInPage(String brandId, Map<String, String> additionalHeaders) throws ApiExceptionDelete the Preview Sign-in Page Deletes the preview sign-in page. The preview sign-in page contains unpublished changes and isn't shown in your live environment. Preview it at `${yourOktaDomain}/login/preview`.- Parameters:
brandId- The ID of the brand (required)additionalHeaders- additionalHeaders for this call- Throws:
ApiException- if fails to make API call
-
getCustomizedErrorPage
Retrieve the Customized Error Page Retrieves the customized error page. The customized error page appears in your live environment.- Parameters:
brandId- The ID of the brand (required)- Returns:
- ErrorPage
- Throws:
ApiException- if fails to make API call
-
getCustomizedErrorPage
public ErrorPage getCustomizedErrorPage(String brandId, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve the Customized Error Page Retrieves the customized error page. The customized error page appears in your live environment.- Parameters:
brandId- The ID of the brand (required)additionalHeaders- additionalHeaders for this call- Returns:
- ErrorPage
- Throws:
ApiException- if fails to make API call
-
getCustomizedSignInPage
Retrieve the Customized Sign-in Page Retrieves the customized sign-in page. The customized sign-in page appears in your live environment.- Parameters:
brandId- The ID of the brand (required)- Returns:
- SignInPage
- Throws:
ApiException- if fails to make API call
-
getCustomizedSignInPage
public SignInPage getCustomizedSignInPage(String brandId, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve the Customized Sign-in Page Retrieves the customized sign-in page. The customized sign-in page appears in your live environment.- Parameters:
brandId- The ID of the brand (required)additionalHeaders- additionalHeaders for this call- Returns:
- SignInPage
- Throws:
ApiException- if fails to make API call
-
getDefaultErrorPage
Retrieve the Default Error Page Retrieves the default error page. The default error page appears when no customized error page exists.- Parameters:
brandId- The ID of the brand (required)- Returns:
- ErrorPage
- Throws:
ApiException- if fails to make API call
-
getDefaultErrorPage
public ErrorPage getDefaultErrorPage(String brandId, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve the Default Error Page Retrieves the default error page. The default error page appears when no customized error page exists.- Parameters:
brandId- The ID of the brand (required)additionalHeaders- additionalHeaders for this call- Returns:
- ErrorPage
- Throws:
ApiException- if fails to make API call
-
getDefaultSignInPage
Retrieve the Default Sign-in Page Retrieves the default sign-in page. The default sign-in page appears when no customized sign-in page exists.- Parameters:
brandId- The ID of the brand (required)- Returns:
- SignInPage
- Throws:
ApiException- if fails to make API call
-
getDefaultSignInPage
public SignInPage getDefaultSignInPage(String brandId, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve the Default Sign-in Page Retrieves the default sign-in page. The default sign-in page appears when no customized sign-in page exists.- Parameters:
brandId- The ID of the brand (required)additionalHeaders- additionalHeaders for this call- Returns:
- SignInPage
- Throws:
ApiException- if fails to make API call
-
getErrorPage
Retrieve the Error Page Sub-Resources Retrieves the error page sub-resources. The `expand` query parameter specifies which sub-resources to include in the response.- Parameters:
brandId- The ID of the brand (required)expand- Specifies additional metadata to be included in the response (optional- Returns:
- PageRoot
- Throws:
ApiException- if fails to make API call
-
getErrorPage
public PageRoot getErrorPage(String brandId, List<String> expand, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve the Error Page Sub-Resources Retrieves the error page sub-resources. The `expand` query parameter specifies which sub-resources to include in the response.- Parameters:
brandId- The ID of the brand (required)expand- Specifies additional metadata to be included in the response (optionaladditionalHeaders- additionalHeaders for this call- Returns:
- PageRoot
- Throws:
ApiException- if fails to make API call
-
getPreviewErrorPage
Retrieve the Preview Error Page Preview Retrieves the preview error page. The preview error page contains unpublished changes and isn't shown in your live environment. Preview it at `${yourOktaDomain}/error/preview`.- Parameters:
brandId- The ID of the brand (required)- Returns:
- ErrorPage
- Throws:
ApiException- if fails to make API call
-
getPreviewErrorPage
public ErrorPage getPreviewErrorPage(String brandId, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve the Preview Error Page Preview Retrieves the preview error page. The preview error page contains unpublished changes and isn't shown in your live environment. Preview it at `${yourOktaDomain}/error/preview`.- Parameters:
brandId- The ID of the brand (required)additionalHeaders- additionalHeaders for this call- Returns:
- ErrorPage
- Throws:
ApiException- if fails to make API call
-
getPreviewSignInPage
Retrieve the Preview Sign-in Page Preview Retrieves the preview sign-in page. The preview sign-in page contains unpublished changes and isn't shown in your live environment. Preview it at `${yourOktaDomain}/login/preview`.- Parameters:
brandId- The ID of the brand (required)- Returns:
- SignInPage
- Throws:
ApiException- if fails to make API call
-
getPreviewSignInPage
public SignInPage getPreviewSignInPage(String brandId, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve the Preview Sign-in Page Preview Retrieves the preview sign-in page. The preview sign-in page contains unpublished changes and isn't shown in your live environment. Preview it at `${yourOktaDomain}/login/preview`.- Parameters:
brandId- The ID of the brand (required)additionalHeaders- additionalHeaders for this call- Returns:
- SignInPage
- Throws:
ApiException- if fails to make API call
-
getSignInPage
Retrieve the Sign-in Page Sub-Resources Retrieves the sign-in page sub-resources. The `expand` query parameter specifies which sub-resources to include in the response.- Parameters:
brandId- The ID of the brand (required)expand- Specifies additional metadata to be included in the response (optional- Returns:
- PageRoot
- Throws:
ApiException- if fails to make API call
-
getSignInPage
public PageRoot getSignInPage(String brandId, List<String> expand, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve the Sign-in Page Sub-Resources Retrieves the sign-in page sub-resources. The `expand` query parameter specifies which sub-resources to include in the response.- Parameters:
brandId- The ID of the brand (required)expand- Specifies additional metadata to be included in the response (optionaladditionalHeaders- additionalHeaders for this call- Returns:
- PageRoot
- Throws:
ApiException- if fails to make API call
-
getSignOutPageSettings
Retrieve the Sign-out Page Settings Retrieves the sign-out page settings- Parameters:
brandId- The ID of the brand (required)- Returns:
- HostedPage
- Throws:
ApiException- if fails to make API call
-
getSignOutPageSettings
public HostedPage getSignOutPageSettings(String brandId, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve the Sign-out Page Settings Retrieves the sign-out page settings- Parameters:
brandId- The ID of the brand (required)additionalHeaders- additionalHeaders for this call- Returns:
- HostedPage
- Throws:
ApiException- if fails to make API call
-
listAllSignInWidgetVersions
List all Sign-in Widget Versions Lists all sign-in widget versions supported by the current org- Parameters:
brandId- The ID of the brand (required)- Returns:
- List<String>
- Throws:
ApiException- if fails to make API call
-
listAllSignInWidgetVersions
public List<String> listAllSignInWidgetVersions(String brandId, Map<String, String> additionalHeaders) throws ApiExceptionList all Sign-in Widget Versions Lists all sign-in widget versions supported by the current org- Parameters:
brandId- The ID of the brand (required)additionalHeaders- additionalHeaders for this call- Returns:
- List<String>
- Throws:
ApiException- if fails to make API call
-
replaceCustomizedErrorPage
public ErrorPage replaceCustomizedErrorPage(String brandId, ErrorPage errorPage) throws ApiException Replace the Customized Error Page Replaces the customized error page. The customized error page appears in your live environment.- Parameters:
brandId- The ID of the brand (required)errorPage- (required)- Returns:
- ErrorPage
- Throws:
ApiException- if fails to make API call
-
replaceCustomizedErrorPage
public ErrorPage replaceCustomizedErrorPage(String brandId, ErrorPage errorPage, Map<String, String> additionalHeaders) throws ApiExceptionReplace the Customized Error Page Replaces the customized error page. The customized error page appears in your live environment.- Parameters:
brandId- The ID of the brand (required)errorPage- (required)additionalHeaders- additionalHeaders for this call- Returns:
- ErrorPage
- Throws:
ApiException- if fails to make API call
-
replaceCustomizedSignInPage
public SignInPage replaceCustomizedSignInPage(String brandId, SignInPage signInPage) throws ApiException Replace the Customized Sign-in Page Replaces the customized sign-in page. The customized sign-in page appears in your live environment.- Parameters:
brandId- The ID of the brand (required)signInPage- (required)- Returns:
- SignInPage
- Throws:
ApiException- if fails to make API call
-
replaceCustomizedSignInPage
public SignInPage replaceCustomizedSignInPage(String brandId, SignInPage signInPage, Map<String, String> additionalHeaders) throws ApiExceptionReplace the Customized Sign-in Page Replaces the customized sign-in page. The customized sign-in page appears in your live environment.- Parameters:
brandId- The ID of the brand (required)signInPage- (required)additionalHeaders- additionalHeaders for this call- Returns:
- SignInPage
- Throws:
ApiException- if fails to make API call
-
replacePreviewErrorPage
Replace the Preview Error Page Replaces the preview error page. The preview error page contains unpublished changes and isn't shown in your live environment. Preview it at `${yourOktaDomain}/error/preview`.- Parameters:
brandId- The ID of the brand (required)errorPage- (required)- Returns:
- ErrorPage
- Throws:
ApiException- if fails to make API call
-
replacePreviewErrorPage
public ErrorPage replacePreviewErrorPage(String brandId, ErrorPage errorPage, Map<String, String> additionalHeaders) throws ApiExceptionReplace the Preview Error Page Replaces the preview error page. The preview error page contains unpublished changes and isn't shown in your live environment. Preview it at `${yourOktaDomain}/error/preview`.- Parameters:
brandId- The ID of the brand (required)errorPage- (required)additionalHeaders- additionalHeaders for this call- Returns:
- ErrorPage
- Throws:
ApiException- if fails to make API call
-
replacePreviewSignInPage
public SignInPage replacePreviewSignInPage(String brandId, SignInPage signInPage) throws ApiException Replace the Preview Sign-in Page Replaces the preview sign-in page. The preview sign-in page contains unpublished changes and isn't shown in your live environment. Preview it at `${yourOktaDomain}/login/preview`.- Parameters:
brandId- The ID of the brand (required)signInPage- (required)- Returns:
- SignInPage
- Throws:
ApiException- if fails to make API call
-
replacePreviewSignInPage
public SignInPage replacePreviewSignInPage(String brandId, SignInPage signInPage, Map<String, String> additionalHeaders) throws ApiExceptionReplace the Preview Sign-in Page Replaces the preview sign-in page. The preview sign-in page contains unpublished changes and isn't shown in your live environment. Preview it at `${yourOktaDomain}/login/preview`.- Parameters:
brandId- The ID of the brand (required)signInPage- (required)additionalHeaders- additionalHeaders for this call- Returns:
- SignInPage
- Throws:
ApiException- if fails to make API call
-
replaceSignOutPageSettings
public HostedPage replaceSignOutPageSettings(String brandId, HostedPage hostedPage) throws ApiException Replace the Sign-out Page Settings Replaces the sign-out page settings- Parameters:
brandId- The ID of the brand (required)hostedPage- (required)- Returns:
- HostedPage
- Throws:
ApiException- if fails to make API call
-
replaceSignOutPageSettings
public HostedPage replaceSignOutPageSettings(String brandId, HostedPage hostedPage, Map<String, String> additionalHeaders) throws ApiExceptionReplace the Sign-out Page Settings Replaces the sign-out page settings- Parameters:
brandId- The ID of the brand (required)hostedPage- (required)additionalHeaders- additionalHeaders for this call- Returns:
- HostedPage
- Throws:
ApiException- if fails to make API call
-
getObjectMapper
protected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-