Interface SCIM
-
- All Implemented Interfaces:
public interface SCIMThe SCIM interface provides methods for creating, getting, updating, deleting, and rotating SCIM connections
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSCIM.CreateConnectionParametersA data class wrapping the parameters needed to create a SCIM connection
public final classSCIM.UpdateConnectionParametersA data class wrapping the parameters needed to update a SCIM connection
public final classSCIM.GetConnectionGroupsParametersA data class wrapping the parameters needed to get connection groups
-
Method Summary
Modifier and Type Method Description abstract StytchResult<B2BSCIMCreateConnectionResponseData>createConnection(SCIM.CreateConnectionParameters parameters)Creates a new SCIM connection. abstract UnitcreateConnection(SCIM.CreateConnectionParameters parameters, Function1<StytchResult<B2BSCIMCreateConnectionResponseData>, Unit> callback)Creates a new SCIM connection. abstract CompletableFuture<StytchResult<B2BSCIMCreateConnectionResponseData>>createConnectionCompletable(SCIM.CreateConnectionParameters parameters)Creates a new SCIM connection. abstract StytchResult<B2BSCIMUpdateConnectionResponseData>updateConnection(SCIM.UpdateConnectionParameters parameters)Updates an existing SCIM connection. abstract UnitupdateConnection(SCIM.UpdateConnectionParameters parameters, Function1<StytchResult<B2BSCIMUpdateConnectionResponseData>, Unit> callback)Updates an existing SCIM connection. abstract CompletableFuture<StytchResult<B2BSCIMUpdateConnectionResponseData>>updateConnectionCompletable(SCIM.UpdateConnectionParameters parameters)Updates an existing SCIM connection. abstract StytchResult<B2BSCIMDeleteConnectionResponseData>deleteConnection(String connectionId)Deletes an existing SCIM connection. abstract UnitdeleteConnection(String connectionId, Function1<StytchResult<B2BSCIMDeleteConnectionResponseData>, Unit> callback)Deletes an existing SCIM connection. abstract CompletableFuture<StytchResult<B2BSCIMDeleteConnectionResponseData>>deleteConnectionCompletable(String connectionId)Deletes an existing SCIM connection. abstract StytchResult<B2BSCIMGetConnectionResponseData>getConnection()Gets the SCIM connection for an organization. abstract UnitgetConnection(Function1<StytchResult<B2BSCIMGetConnectionResponseData>, Unit> callback)Gets the SCIM connection for an organization. abstract CompletableFuture<StytchResult<B2BSCIMGetConnectionResponseData>>getConnectionCompletable()Gets the SCIM connection for an organization. abstract StytchResult<B2BSCIMGetConnectionGroupsResponseData>getConnectionGroups(SCIM.GetConnectionGroupsParameters parameters)Gets all groups associated with an organization's SCIM connection. abstract UnitgetConnectionGroups(SCIM.GetConnectionGroupsParameters parameters, Function1<StytchResult<B2BSCIMGetConnectionGroupsResponseData>, Unit> callback)Gets all groups associated with an organization's SCIM connection. abstract CompletableFuture<StytchResult<B2BSCIMGetConnectionGroupsResponseData>>getConnectionGroupsCompletable(SCIM.GetConnectionGroupsParameters parameters)Gets all groups associated with an organization's SCIM connection. abstract StytchResult<B2BSCIMRotateStartResponseData>rotateStart(String connectionId)Starts the SCIM bearer token rotation process. abstract UnitrotateStart(String connectionId, Function1<StytchResult<B2BSCIMRotateStartResponseData>, Unit> callback)Starts the SCIM bearer token rotation process. abstract CompletableFuture<StytchResult<B2BSCIMRotateStartResponseData>>rotateStartCompletable(String connectionId)Starts the SCIM bearer token rotation process. abstract StytchResult<B2BSCIMRotateCompleteResponseData>rotateComplete(String connectionId)Completes the SCIM bearer token rotate, removing the old bearer token from operation. abstract UnitrotateComplete(String connectionId, Function1<StytchResult<B2BSCIMRotateCompleteResponseData>, Unit> callback)Completes the SCIM bearer token rotate, removing the old bearer token from operation. abstract CompletableFuture<StytchResult<B2BSCIMRotateCompleteResponseData>>rotateCompleteCompletable(String connectionId)Completes the SCIM bearer token rotate, removing the old bearer token from operation. abstract StytchResult<B2BSCIMRotateCancelResponseData>rotateCancel(String connectionId)Cancels the SCIM bearer token rotate, removing the new bearer token issued. abstract UnitrotateCancel(String connectionId, Function1<StytchResult<B2BSCIMRotateCancelResponseData>, Unit> callback)Cancels the SCIM bearer token rotate, removing the new bearer token issued. abstract CompletableFuture<StytchResult<B2BSCIMRotateCancelResponseData>>rotateCancelCompletable(String connectionId)Cancels the SCIM bearer token rotate, removing the new bearer token issued. -
-
Method Detail
-
createConnection
abstract StytchResult<B2BSCIMCreateConnectionResponseData> createConnection(SCIM.CreateConnectionParameters parameters)
Creates a new SCIM connection. This method wraps the {@link https://stytch.com/docs/b2b/api/create-scim-connection create-connection} endpoint. The caller must have permission to modify SCIM via the project's RBAC policy & their role assignments.
- Parameters:
parameters- the parameters necessary to create a SCIM connection- Returns:
SCIMCreateConnectionResponse
-
createConnection
abstract Unit createConnection(SCIM.CreateConnectionParameters parameters, Function1<StytchResult<B2BSCIMCreateConnectionResponseData>, Unit> callback)
Creates a new SCIM connection. This method wraps the {@link https://stytch.com/docs/b2b/api/create-scim-connection create-connection} endpoint. The caller must have permission to modify SCIM via the project's RBAC policy & their role assignments.
- Parameters:
parameters- the parameters necessary to create a SCIM connectioncallback- a callback that receives a SCIMCreateConnectionResponse
-
createConnectionCompletable
abstract CompletableFuture<StytchResult<B2BSCIMCreateConnectionResponseData>> createConnectionCompletable(SCIM.CreateConnectionParameters parameters)
Creates a new SCIM connection. This method wraps the {@link https://stytch.com/docs/b2b/api/create-scim-connection create-connection} endpoint. The caller must have permission to modify SCIM via the project's RBAC policy & their role assignments.
- Parameters:
parameters- the parameters necessary to create a SCIM connection- Returns:
SCIMCreateConnectionResponse
-
updateConnection
abstract StytchResult<B2BSCIMUpdateConnectionResponseData> updateConnection(SCIM.UpdateConnectionParameters parameters)
Updates an existing SCIM connection. This method wraps the {@link https://stytch.com/docs/b2b/api/update-scim-connection update-connection} endpoint. If attempting to modify the
scim_group_implicit_role_assignmentsthe caller must have theupdate.settings.implicit-rolespermission on thestytch.organizationresource. For all other fields, the caller must have theupdatepermission on thestytch.scimresource. SCIM via the project's RBAC policy & their role assignments.- Parameters:
parameters- the parameters necessary to update a SCIM connection- Returns:
SCIMUpdateConnectionResponse
-
updateConnection
abstract Unit updateConnection(SCIM.UpdateConnectionParameters parameters, Function1<StytchResult<B2BSCIMUpdateConnectionResponseData>, Unit> callback)
Updates an existing SCIM connection. This method wraps the {@link https://stytch.com/docs/b2b/api/update-scim-connection update-connection} endpoint. If attempting to modify the
scim_group_implicit_role_assignmentsthe caller must have theupdate.settings.implicit-rolespermission on thestytch.organizationresource. For all other fields, the caller must have theupdatepermission on thestytch.scimresource. SCIM via the project's RBAC policy & their role assignments.- Parameters:
parameters- the parameters necessary to update a SCIM connectioncallback- a callback that receives a SCIMUpdateConnectionResponse
-
updateConnectionCompletable
abstract CompletableFuture<StytchResult<B2BSCIMUpdateConnectionResponseData>> updateConnectionCompletable(SCIM.UpdateConnectionParameters parameters)
Updates an existing SCIM connection. This method wraps the {@link https://stytch.com/docs/b2b/api/update-scim-connection update-connection} endpoint. If attempting to modify the
scim_group_implicit_role_assignmentsthe caller must have theupdate.settings.implicit-rolespermission on thestytch.organizationresource. For all other fields, the caller must have theupdatepermission on thestytch.scimresource. SCIM via the project's RBAC policy & their role assignments.- Parameters:
parameters- the parameters necessary to update a SCIM connection- Returns:
SCIMUpdateConnectionResponse
-
deleteConnection
abstract StytchResult<B2BSCIMDeleteConnectionResponseData> deleteConnection(String connectionId)
Deletes an existing SCIM connection. This method wraps the {@link https://stytch.com/docs/b2b/api/delete-scim-connection delete-connection} endpoint. The caller must have permission to modify SCIM via the project's RBAC policy & their role assignments.
- Parameters:
connectionId- the ID of the connection to be deleted- Returns:
SCIMDeleteConnectionResponse
-
deleteConnection
abstract Unit deleteConnection(String connectionId, Function1<StytchResult<B2BSCIMDeleteConnectionResponseData>, Unit> callback)
Deletes an existing SCIM connection. This method wraps the {@link https://stytch.com/docs/b2b/api/delete-scim-connection delete-connection} endpoint. The caller must have permission to modify SCIM via the project's RBAC policy & their role assignments.
- Parameters:
connectionId- the ID of the connection to be deletedcallback- a callback that receives a SCIMDeleteConnectionResponse
-
deleteConnectionCompletable
abstract CompletableFuture<StytchResult<B2BSCIMDeleteConnectionResponseData>> deleteConnectionCompletable(String connectionId)
Deletes an existing SCIM connection. This method wraps the {@link https://stytch.com/docs/b2b/api/delete-scim-connection delete-connection} endpoint. The caller must have permission to modify SCIM via the project's RBAC policy & their role assignments.
- Parameters:
connectionId- the ID of the connection to be deleted- Returns:
SCIMDeleteConnectionResponse
-
getConnection
abstract StytchResult<B2BSCIMGetConnectionResponseData> getConnection()
Gets the SCIM connection for an organization. This method wraps the {@link https://stytch.com/docs/b2b/api/get-scim-connection get-connection} endpoint. The caller must have permission to view SCIM via the project's RBAC policy & their role assignments.
- Returns:
SCIMGetConnectionResponse
-
getConnection
abstract Unit getConnection(Function1<StytchResult<B2BSCIMGetConnectionResponseData>, Unit> callback)
Gets the SCIM connection for an organization. This method wraps the {@link https://stytch.com/docs/b2b/api/get-scim-connection get-connection} endpoint. The caller must have permission to view SCIM via the project's RBAC policy & their role assignments.
- Parameters:
callback- a callback that receives a SCIMGetConnectionResponse
-
getConnectionCompletable
abstract CompletableFuture<StytchResult<B2BSCIMGetConnectionResponseData>> getConnectionCompletable()
Gets the SCIM connection for an organization. This method wraps the {@link https://stytch.com/docs/b2b/api/get-scim-connection get-connection} endpoint. The caller must have permission to view SCIM via the project's RBAC policy & their role assignments.
- Returns:
SCIMGetConnectionResponse
-
getConnectionGroups
abstract StytchResult<B2BSCIMGetConnectionGroupsResponseData> getConnectionGroups(SCIM.GetConnectionGroupsParameters parameters)
Gets all groups associated with an organization's SCIM connection. This method wraps the {@link https://stytch.com/docs/b2b/api/get-scim-connection-groups get-connection-groups} endpoint. The caller must have permission to view SCIM via the project's RBAC policy & their role assignments.
- Parameters:
parameters- the parameters necessary to get connection groups- Returns:
SCIMGetConnectionGroupsResponse
-
getConnectionGroups
abstract Unit getConnectionGroups(SCIM.GetConnectionGroupsParameters parameters, Function1<StytchResult<B2BSCIMGetConnectionGroupsResponseData>, Unit> callback)
Gets all groups associated with an organization's SCIM connection. This method wraps the {@link https://stytch.com/docs/b2b/api/get-scim-connection-groups get-connection-groups} endpoint. The caller must have permission to view SCIM via the project's RBAC policy & their role assignments.
- Parameters:
parameters- the parameters necessary to get connection groupscallback- a callback that receives a SCIMGetConnectionGroupsResponse
-
getConnectionGroupsCompletable
abstract CompletableFuture<StytchResult<B2BSCIMGetConnectionGroupsResponseData>> getConnectionGroupsCompletable(SCIM.GetConnectionGroupsParameters parameters)
Gets all groups associated with an organization's SCIM connection. This method wraps the {@link https://stytch.com/docs/b2b/api/get-scim-connection-groups get-connection-groups} endpoint. The caller must have permission to view SCIM via the project's RBAC policy & their role assignments.
- Parameters:
parameters- the parameters necessary to get connection groups- Returns:
SCIMGetConnectionGroupsResponse
-
rotateStart
abstract StytchResult<B2BSCIMRotateStartResponseData> rotateStart(String connectionId)
Starts the SCIM bearer token rotation process. This method wraps the {@link https://stytch.com/docs/b2b/api/scim-rotate-token-start start-rotation} endpoint. The caller must have permission to modify SCIM via the project's RBAC policy & their role assignments.
- Parameters:
connectionId- the ID of the connection to start the bearer token rotation process- Returns:
SCIMRotateStartResponse
-
rotateStart
abstract Unit rotateStart(String connectionId, Function1<StytchResult<B2BSCIMRotateStartResponseData>, Unit> callback)
Starts the SCIM bearer token rotation process. This method wraps the {@link https://stytch.com/docs/b2b/api/scim-rotate-token-start start-rotation} endpoint. The caller must have permission to modify SCIM via the project's RBAC policy & their role assignments.
- Parameters:
connectionId- the ID of the connection to start the bearer token rotation processcallback- a callback that receives a SCIMRotateStartResponse
-
rotateStartCompletable
abstract CompletableFuture<StytchResult<B2BSCIMRotateStartResponseData>> rotateStartCompletable(String connectionId)
Starts the SCIM bearer token rotation process. This method wraps the {@link https://stytch.com/docs/b2b/api/scim-rotate-token-start start-rotation} endpoint. The caller must have permission to modify SCIM via the project's RBAC policy & their role assignments.
- Parameters:
connectionId- the ID of the connection to start the bearer token rotation process- Returns:
SCIMRotateStartResponse
-
rotateComplete
abstract StytchResult<B2BSCIMRotateCompleteResponseData> rotateComplete(String connectionId)
Completes the SCIM bearer token rotate, removing the old bearer token from operation. This method wraps the {@link https://stytch.com/docs/b2b/api/scim-rotate-token-complete complete-rotation} endpoint. The caller must have permission to modify SCIM via the project's RBAC policy & their role assignments.
- Parameters:
connectionId- the ID of the connection to complete the bearer token rotation process- Returns:
SCIMRotateCompleteResponse
-
rotateComplete
abstract Unit rotateComplete(String connectionId, Function1<StytchResult<B2BSCIMRotateCompleteResponseData>, Unit> callback)
Completes the SCIM bearer token rotate, removing the old bearer token from operation. This method wraps the {@link https://stytch.com/docs/b2b/api/scim-rotate-token-complete complete-rotation} endpoint. The caller must have permission to modify SCIM via the project's RBAC policy & their role assignments.
- Parameters:
connectionId- the ID of the connection to complete the bearer token rotation processcallback- a callback that receives a SCIMRotateCompleteResponse
-
rotateCompleteCompletable
abstract CompletableFuture<StytchResult<B2BSCIMRotateCompleteResponseData>> rotateCompleteCompletable(String connectionId)
Completes the SCIM bearer token rotate, removing the old bearer token from operation. This method wraps the {@link https://stytch.com/docs/b2b/api/scim-rotate-token-complete complete-rotation} endpoint. The caller must have permission to modify SCIM via the project's RBAC policy & their role assignments.
- Parameters:
connectionId- the ID of the connection to complete the bearer token rotation process- Returns:
SCIMRotateCompleteResponse
-
rotateCancel
abstract StytchResult<B2BSCIMRotateCancelResponseData> rotateCancel(String connectionId)
Cancels the SCIM bearer token rotate, removing the new bearer token issued. This method wraps the {@link https://stytch.com/docs/b2b/api/scim-rotate-token-cancel cancel-rotation} endpoint. The caller must have permission to modify SCIM via the project's RBAC policy & their role assignments.
- Parameters:
connectionId- the ID of the connection to cancel a bearer token rotation process- Returns:
SCIMRotateCancelResponse
-
rotateCancel
abstract Unit rotateCancel(String connectionId, Function1<StytchResult<B2BSCIMRotateCancelResponseData>, Unit> callback)
Cancels the SCIM bearer token rotate, removing the new bearer token issued. This method wraps the {@link https://stytch.com/docs/b2b/api/scim-rotate-token-cancel cancel-rotation} endpoint. The caller must have permission to modify SCIM via the project's RBAC policy & their role assignments.
- Parameters:
connectionId- the ID of the connection to cancel a bearer token rotation processcallback- a callback that receives a SCIMRotateCancelResponse
-
rotateCancelCompletable
abstract CompletableFuture<StytchResult<B2BSCIMRotateCancelResponseData>> rotateCancelCompletable(String connectionId)
Cancels the SCIM bearer token rotate, removing the new bearer token issued. This method wraps the {@link https://stytch.com/docs/b2b/api/scim-rotate-token-cancel cancel-rotation} endpoint. The caller must have permission to modify SCIM via the project's RBAC policy & their role assignments.
- Parameters:
connectionId- the ID of the connection to cancel a bearer token rotation process- Returns:
SCIMRotateCancelResponse
-
-
-
-