# Class PublishToIvyRepository.RepositorySpec.CredentialsSpec

java.lang.Object
org.gradle.api.publish.ivy.tasks.PublishToIvyRepository.RepositorySpec.CredentialsSpec

Enclosing class:
  `PublishToIvyRepository.RepositorySpec`

static class PublishToIvyRepository.RepositorySpec.CredentialsSpec extends Object

Since:
  1.3

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getIdentity()`
  `Class<? extends Credentials>`
  `getType()`
  `static PublishToIvyRepository.RepositorySpec.CredentialsSpec`
  `of(String identity, Credentials credentials)`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### of

    public static PublishToIvyRepository.RepositorySpec.CredentialsSpec of(String identity, Credentials credentials)

  - ### getType

    public Class<? extends Credentials> getType()

  - ### getIdentity

    public String getIdentity()