# credentials

inline fun <T : Credentials> AuthenticationSupported. credentials(credentialsType: KClass<T>, action: Action<in T>)(source)
inline fun <T : Credentials> AuthenticationSupported. credentials(credentialsType: KClass<T>, action: Action<in T>)(source)

Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.artifacts.repositories.AuthenticationSupported.credentials.

#### See also

AuthenticationSupported.credentials

inline fun AuthenticationSupported. credentials(credentialsType: KClass<out Credentials>)(source)
inline fun AuthenticationSupported. credentials(credentialsType: KClass<out Credentials>)(source)

Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.artifacts.repositories.AuthenticationSupported.credentials.

#### Since

6.6

#### See also

AuthenticationSupported.credentials

inline fun <T : Credentials> ProviderFactory. credentials(credentialsType: KClass<T>, identity: String): Provider<T>(source)
inline fun <T : Credentials> ProviderFactory. credentials(credentialsType: KClass<T>, identity: String): Provider<T>(source)
inline fun <T : Credentials> ProviderFactory. credentials(credentialsType: KClass<T>, identity: Provider<String>): Provider<T>(source)
inline fun <T : Credentials> ProviderFactory. credentials(credentialsType: KClass<T>, identity: Provider<String>): Provider<T>(source)

Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.provider.ProviderFactory.credentials.

#### Since

6.6

#### See also

ProviderFactory.credentials