auth property

AiutaAuth auth
final

Authentication configuration. This is required to authenticate Aiuta to use digital try-on API with your credentials. Supported authentication methods are AiutaApiKeyAuth or AiutaJwtAuth.

With AiutaJwtAuth, only sensitive requests (such as starting virtual try-on) are authenticated with JWT. Other requests are authenticated with your subscription id.

With AiutaApiKeyAuth, all requests are authenticated with your API key.

Please see Aiuta API documentation for instructions on how to get your credentials.

Implementation

final AiutaAuth auth;