SAML
interface SAML
Types
Link copied to clipboard
Data class used for wrapping the parameters for a SAML creation request
Link copied to clipboard
data class DeleteVerificationCertificateParameters(val connectionId: String, val certificateId: String)
Data class used for wrapping the parameters to delete a SAML verification certificate
Link copied to clipboard
Data class used for wrapping the parameters for a SAML update by URL request
Link copied to clipboard
data class UpdateParameters(val connectionId: String, val idpEntityId: String? = null, val displayName: String? = null, val attributeMapping: Map<String, String>? = null, val idpSsoUrl: String? = null, val x509Certificate: String? = null, val samlConnectionImplicitRoleAssignment: List<ConnectionRoleAssignment>? = null, val samlGroupImplicitRoleAssignment: List<GroupRoleAssignment>? = null)
Data class used for wrapping the parameters for a SAML update request
Functions
Link copied to clipboard
abstract suspend fun createConnection(parameters: SSO.SAML.CreateParameters): B2BSSOSAMLCreateConnectionResponse
abstract fun createConnection(parameters: SSO.SAML.CreateParameters, callback: (B2BSSOSAMLCreateConnectionResponse) -> Unit)
Create a new SAML Connection.
Link copied to clipboard
abstract suspend fun deleteVerificationCertificate(parameters: SSO.SAML.DeleteVerificationCertificateParameters): B2BSSOSAMLDeleteVerificationCertificateResponse
abstract fun deleteVerificationCertificate(parameters: SSO.SAML.DeleteVerificationCertificateParameters, callback: (B2BSSOSAMLDeleteVerificationCertificateResponse) -> Unit)
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.
Link copied to clipboard
abstract suspend fun updateConnection(parameters: SSO.SAML.UpdateParameters): B2BSSOSAMLUpdateConnectionResponse
abstract fun updateConnection(parameters: SSO.SAML.UpdateParameters, callback: (B2BSSOSAMLUpdateConnectionResponse) -> Unit)
Update a SAML Connection.
Link copied to clipboard
abstract suspend fun updateConnectionByUrl(parameters: SSO.SAML.UpdateByURLParameters): B2BSSOSAMLUpdateConnectionByURLResponse
abstract fun updateConnectionByUrl(parameters: SSO.SAML.UpdateByURLParameters, callback: (B2BSSOSAMLUpdateConnectionByURLResponse) -> Unit)
Update a SAML Connection by URL.