Skip to content

addConnectorAsync

@JvmOverloads

suspend fun addConnectorAsync(value: String, connectorType: ConnectorType, preValidationToken: PreValidationToken? = null): Connector

Add a connector to the current identity. If no preValidationToken is given, the connector will need to be validated before use.

Return

The created Connector.

Parameters

valueThe value of the connector to add.
connectorTypeThe type of the connector.
preValidationTokenGiven by your server to authorize the adding of a connector.

Throws

SealdException