ImportAPI.CreateByRsaBearerToken Method

Relativity Import APIs
Creates a new instance of the ImportAPI class. Uses the bearer token for the current ClaimsPrincipal and should only be used by processes hosted by the Relativity Service Account (IE Agent).

Namespace:  kCura.Relativity.ImportAPI
Assembly:  Relativity.DataExchange.Client.SDK (in Relativity.DataExchange.Client.SDK.dll) Version: 1.5.0
Syntax

public static ImportAPI CreateByRsaBearerToken(
	string webServiceUrl
)

Parameters

webServiceUrl
Type: String
The URL to the Relativity WebAPI instance.

Return Value

Type: ImportAPI
The ImportAPI instance.
Exceptions

ExceptionCondition
CredentialsNotSupportedException Thrown when integrated security is not supported when running within a service process.
InvalidLoginException Thrown when the current claims principal does not have an access token or an authentication failure occurs.
RelativityNotSupportedException The exception thrown when this API version isn't supported with the specified Relativity instance.
See Also

Reference