credentials

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

Configures the credentials for the repository.

Parameters

credentialsType

The class of the credentials type to instantiate.

action

The action used to configure the credentials.

Type Parameters

T

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


open override fun credentials(action: Action<in PasswordCredentials>)
open override fun credentials(credentialsType: Class<out Credentials?>): Nothing
open override val credentials: PasswordCredentials