Interface SSO.SAML
-
- All Implemented Interfaces:
public interface SSO.SAMLThe SAML interface provides methods for creating, updating, and deleting a SAML connection
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSSO.SAML.CreateParametersData class used for wrapping the parameters for a SAML creation request
public final classSSO.SAML.UpdateParametersData class used for wrapping the parameters for a SAML update request
public final classSSO.SAML.UpdateByURLParametersData class used for wrapping the parameters for a SAML update by URL request
public final classSSO.SAML.DeleteVerificationCertificateParametersData class used for wrapping the parameters to delete a SAML verification certificate
-
Method Summary
Modifier and Type Method Description abstract StytchResult<B2BSSOSAMLCreateConnectionResponseData>createConnection(SSO.SAML.CreateParameters parameters)Create a new SAML Connection. abstract UnitcreateConnection(SSO.SAML.CreateParameters parameters, Function1<StytchResult<B2BSSOSAMLCreateConnectionResponseData>, Unit> callback)Create a new SAML Connection. abstract CompletableFuture<StytchResult<B2BSSOSAMLCreateConnectionResponseData>>createConnectionCompletable(SSO.SAML.CreateParameters parameters)Create a new SAML Connection. abstract StytchResult<B2BSSOSAMLUpdateConnectionResponseData>updateConnection(SSO.SAML.UpdateParameters parameters)Update a SAML Connection. abstract UnitupdateConnection(SSO.SAML.UpdateParameters parameters, Function1<StytchResult<B2BSSOSAMLUpdateConnectionResponseData>, Unit> callback)Update a SAML Connection. abstract CompletableFuture<StytchResult<B2BSSOSAMLUpdateConnectionResponseData>>updateConnectionCompletable(SSO.SAML.UpdateParameters parameters)Update a SAML Connection. abstract StytchResult<B2BSSOSAMLUpdateConnectionByURLResponseData>updateConnectionByUrl(SSO.SAML.UpdateByURLParameters parameters)Update a SAML Connection by URL. abstract UnitupdateConnectionByUrl(SSO.SAML.UpdateByURLParameters parameters, Function1<StytchResult<B2BSSOSAMLUpdateConnectionByURLResponseData>, Unit> callback)Update a SAML Connection by URL. abstract CompletableFuture<StytchResult<B2BSSOSAMLUpdateConnectionByURLResponseData>>updateConnectionByUrlCompletable(SSO.SAML.UpdateByURLParameters parameters)Update a SAML Connection by URL. abstract StytchResult<B2BSSOSAMLDeleteVerificationCertificateResponseData>deleteVerificationCertificate(SSO.SAML.DeleteVerificationCertificateParameters parameters)Delete a SAML verification certificate. abstract UnitdeleteVerificationCertificate(SSO.SAML.DeleteVerificationCertificateParameters parameters, Function1<StytchResult<B2BSSOSAMLDeleteVerificationCertificateResponseData>, Unit> callback)Delete a SAML verification certificate. abstract CompletableFuture<StytchResult<B2BSSOSAMLDeleteVerificationCertificateResponseData>>deleteVerificationCertificateCompletable(SSO.SAML.DeleteVerificationCertificateParameters parameters)Delete a SAML verification certificate. -
-
Method Detail
-
createConnection
abstract StytchResult<B2BSSOSAMLCreateConnectionResponseData> createConnection(SSO.SAML.CreateParameters parameters)
Create a new SAML Connection.
- Parameters:
parameters- The parameters required to create a new SAML connection- Returns:
B2BSSOSAMLCreateConnectionResponse
-
createConnection
abstract Unit createConnection(SSO.SAML.CreateParameters parameters, Function1<StytchResult<B2BSSOSAMLCreateConnectionResponseData>, Unit> callback)
Create a new SAML Connection.
- Parameters:
parameters- The parameters required to create a new SAML connectioncallback- a callback that receives a B2BSSOSAMLCreateConnectionResponse
-
createConnectionCompletable
abstract CompletableFuture<StytchResult<B2BSSOSAMLCreateConnectionResponseData>> createConnectionCompletable(SSO.SAML.CreateParameters parameters)
Create a new SAML Connection.
- Parameters:
parameters- The parameters required to create a new SAML connection- Returns:
B2BSSOSAMLCreateConnectionResponse
-
updateConnection
abstract StytchResult<B2BSSOSAMLUpdateConnectionResponseData> updateConnection(SSO.SAML.UpdateParameters parameters)
Update a SAML Connection.
- Parameters:
parameters- The parameters required to update SAML connection- Returns:
B2BSSOSAMLUpdateConnectionResponse
-
updateConnection
abstract Unit updateConnection(SSO.SAML.UpdateParameters parameters, Function1<StytchResult<B2BSSOSAMLUpdateConnectionResponseData>, Unit> callback)
Update a SAML Connection.
- Parameters:
parameters- The parameters required to update SAML connectioncallback- a callback that receives a B2BSSOSAMLUpdateConnectionResponse
-
updateConnectionCompletable
abstract CompletableFuture<StytchResult<B2BSSOSAMLUpdateConnectionResponseData>> updateConnectionCompletable(SSO.SAML.UpdateParameters parameters)
Update a SAML Connection.
- Parameters:
parameters- The parameters required to update SAML connection- Returns:
B2BSSOSAMLUpdateConnectionResponse
-
updateConnectionByUrl
abstract StytchResult<B2BSSOSAMLUpdateConnectionByURLResponseData> updateConnectionByUrl(SSO.SAML.UpdateByURLParameters parameters)
Update a SAML Connection by URL.
- Parameters:
parameters- The parameters required to update a SAML connection by URL- Returns:
B2BSSOSAMLUpdateConnectionByURLResponse
-
updateConnectionByUrl
abstract Unit updateConnectionByUrl(SSO.SAML.UpdateByURLParameters parameters, Function1<StytchResult<B2BSSOSAMLUpdateConnectionByURLResponseData>, Unit> callback)
Update a SAML Connection by URL.
- Parameters:
parameters- The parameters required to update a SAML connection by URLcallback- a callback that receives a B2BSSOSAMLUpdateConnectionByURLResponse
-
updateConnectionByUrlCompletable
abstract CompletableFuture<StytchResult<B2BSSOSAMLUpdateConnectionByURLResponseData>> updateConnectionByUrlCompletable(SSO.SAML.UpdateByURLParameters parameters)
Update a SAML Connection by URL.
- Parameters:
parameters- The parameters required to update a SAML connection by URL- Returns:
B2BSSOSAMLUpdateConnectionByURLResponse
-
deleteVerificationCertificate
abstract StytchResult<B2BSSOSAMLDeleteVerificationCertificateResponseData> deleteVerificationCertificate(SSO.SAML.DeleteVerificationCertificateParameters parameters)
Delete a SAML verification certificate. You may need to do this when rotating certificates from your IdP, since Stytch allows a maximum of 5 certificates per connection. There must always be at least one certificate per active connection.
- Parameters:
parameters- The parameters required to delete a SAML verification certificate.- Returns:
B2BSSOSAMLDeleteVerificationCertificateResponse
-
deleteVerificationCertificate
abstract Unit deleteVerificationCertificate(SSO.SAML.DeleteVerificationCertificateParameters parameters, Function1<StytchResult<B2BSSOSAMLDeleteVerificationCertificateResponseData>, Unit> callback)
Delete a SAML verification certificate. You may need to do this when rotating certificates from your IdP, since Stytch allows a maximum of 5 certificates per connection. There must always be at least one certificate per active connection.
- Parameters:
parameters- The parameters required to delete a SAML verification certificate.callback- a callback that receives a B2BSSOSAMLDeleteVerificationCertificateResponse
-
deleteVerificationCertificateCompletable
abstract CompletableFuture<StytchResult<B2BSSOSAMLDeleteVerificationCertificateResponseData>> deleteVerificationCertificateCompletable(SSO.SAML.DeleteVerificationCertificateParameters parameters)
Delete a SAML verification certificate. You may need to do this when rotating certificates from your IdP, since Stytch allows a maximum of 5 certificates per connection. There must always be at least one certificate per active connection.
- Parameters:
parameters- The parameters required to delete a SAML verification certificate.- Returns:
B2BSSOSAMLDeleteVerificationCertificateResponse
-
-
-
-