# getCredentials

inline fun <T : Credentials> AuthenticationSupported. getCredentials(credentialsType: KClass<T>): T(source)

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

#### Since

2.4

#### See also

org.gradle.api.artifacts.repositories.AuthenticationSupported.getCredentials

inline fun <T : Credentials> AuthenticationSupported. getCredentials(credentialsType: KClass<T>): T(source)

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

#### See also

org.gradle.api.artifacts.repositories.AuthenticationSupported.getCredentials