MonoCloud Management SDK
    Preparing search index...

    Hierarchy

    Index

    Constructors

    Properties

    fetcher: Fetcher

    Methods

    • Parameters

      • apiId: string

        The unique identifier of the API resource.

      • createSecretRequest: CreateSecretRequest

        The request payload used to create an API resource secret.

      Returns Promise<MonoCloudResponse<Secret>>

      Secret - The API resource secret was created successfully

      Creates a new secret credential for the API resource, used to authenticate the resource during token introspection.

      Access to the API secret creation endpoint requires an active ScaleX subscription.

      ResourcesClient

    • Parameters

      • apiId: string

        The unique identifier of the API resource.

      Returns Promise<MonoCloudResponse<null>>

      The API resource was deleted successfully

      Permanently deletes the specified API resource and all API scopes defined for it.

      This operation is irreversible.

      ResourcesClient

    • Parameters

      • apiId: string

        The unique identifier of the API resource.

      • secretId: string

        The unique identifier of the API resource secret.

      Returns Promise<MonoCloudResponse<null>>

      The API resource secret was deleted successfully

      Permanently deletes the specified API resource secret.

      This operation is irreversible. Tokens presented to this API resource can no longer be introspected using this secret.

      ResourcesClient

    • Parameters

      • scopeId: string

        The unique identifier of the API scope.

      • apiId: string

        The unique identifier of the API resource.

      Returns Promise<MonoCloudResponse<null>>

      The API scope was deleted successfully

      Permanently deletes the specified API scope from the API resource.

      This operation is irreversible. Once deleted, clients will no longer be able to request or obtain access tokens containing this scope.

      ResourcesClient

    • Parameters

      • secretId: string

        The unique identifier of the API resource secret.

      • apiId: string

        The unique identifier of the API resource.

      Returns Promise<MonoCloudResponse<Secret>>

      Secret - The API resource secret was retrieved successfully

      Retrieves detailed information for the specified API resource secret.

      ResourcesClient

    • Parameters

      • apiId: string

        The unique identifier of the API resource.

      • Optionalpage: number

        The page number to retrieve.

      • Optionalsize: number

        The number of API–client access entries to return per page.

      • Optionalsort: string

        Sort expression in the format field:direction, where direction is 1 for ascending or -1 for descending. Supported fields include - client_id, creation_time and last_updated

      Returns Promise<MonoCloudPageResponse<ApiResourceClient[]>>

      ApiResourceClient[] - The API resource client access entries were retrieved successfully

      Retrieves a paginated list of client access entries for the specified API resource. Optional query parameters allow sorting of the results.

      ResourcesClient

    • Parameters

      • Optionalpage: number

        The page number to retrieve.

      • Optionalsize: number

        The number of resources to return per page.

      • Optionalfilter: string

        Optional Lucene-style filter expression used to search by attributes.

      • Optionalsort: string

        Sort expression in the format field:direction, where direction is 1 for ascending or -1 for descending. Supported fields include - name, display_name, and creation_time

      Returns Promise<MonoCloudPageResponse<ApiResource[]>>

      ApiResource[] - The API resources were retrieved successfully

      Retrieves a paginated list of API resources. Optional query parameters allow searching, filtering, and sorting the results.

      ResourcesClient

    • Parameters

      • apiId: string

        The unique identifier of the API resource.

      • Optionalpage: number

        The page number to retrieve.

      • Optionalsize: number

        The number of resources to return per page.

      • Optionalfilter: string

        Optional Lucene-style filter expression used to search by attributes.

      • Optionalsort: string

        Sort expression in the format field:direction, where direction is 1 for ascending or -1 for descending. Supported fields include - name, display_name, and creation_time

      Returns Promise<MonoCloudPageResponse<ApiScope[]>>

      ApiScope[] - The API scopes were retrieved successfully

      Retrieves a paginated list of API scopes for the specified API resource. Optional query parameters allow searching, filtering, and sorting the results.

      ResourcesClient

    • Parameters

      • Optionalpage: number

        The page number to retrieve.

      • Optionalsize: number

        The number of resources to return per page.

      • Optionalfilter: string

        Optional Lucene-style filter expression used to search by attributes.

      • Optionalsort: string

        Sort expression in the format field:direction, where direction is 1 for ascending or -1 for descending. Supported fields include - name, display_name, and creation_time

      Returns Promise<MonoCloudPageResponse<ClaimResource[]>>

      ClaimResource[] - The claims were retrieved successfully

      Retrieves a paginated list of claims. Optional query parameters allow searching, filtering, and sorting the results.

      ResourcesClient

    • Parameters

      • clientId: string

        The unique identifier of the client.

      • Optionalpage: number

        The page number to retrieve.

      • Optionalsize: number

        The number of API–client access entries to return per page.

      • Optionalsort: string

        Sort expression in the format field:direction, where direction is 1 for ascending or -1 for descending. Supported fields include - client_id, creation_time and last_updated

      Returns Promise<MonoCloudPageResponse<ApiResourceClient[]>>

      ApiResourceClient[] - The client API resource access entries were retrieved successfully

      Retrieves a paginated list of API resource access entries associated with the specified client. Optional query parameters allow sorting of the results.

      ResourcesClient

    • Parameters

      • Optionalpage: number

        The page number to retrieve.

      • Optionalsize: number

        The number of resources to return per page.

      • Optionalfilter: string

        Optional Lucene-style filter expression used to search by attributes.

      • Optionalsort: string

        Sort expression in the format field:direction, where direction is 1 for ascending or -1 for descending. Supported fields include - name, display_name, and creation_time

      Returns Promise<MonoCloudPageResponse<Scope[]>>

      Scope[] - The scopes were retrieved successfully

      Retrieves a paginated list of identity scopes. Optional query parameters allow searching, filtering, and sorting the results.

      ResourcesClient

    • Parameters

      • apiId: string

        The unique identifier of the API resource.

      • clientId: string

        The unique identifier of the client.

      Returns Promise<MonoCloudResponse<null>>

      The API resource client access entry was removed successfully

      Removes the access entry that authorizes the specified client to request tokens for the API resource. After removal, the client will no longer be permitted to access this API resource.

      ResourcesClient