credentials

open override fun <T : Credentials?> credentials(credentialsType: Class<T>, action: Action<in T>)

Configures the credentials for the repository.

Parameters

T

The type of credentials to configure, which must be a subclass of Credentials.

credentialsType

The class of the credentials type to instantiate.

action

The action used to configure the credentials.