Class CredentialsContainerKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static Unit credentials(CredentialsContainer $self, Function1<PasswordCredentials, Unit> configAction) Configures the username/password credentials for this service using the supplied action.
      final static <T extends Credentials> Unit credentials(CredentialsContainer $self, KClass<T> type, Function1<T, Unit> configAction) Configures the credentials for this service using the supplied action.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • credentials

         final static Unit credentials(CredentialsContainer $self, Function1<PasswordCredentials, Unit> configAction)

        Configures the username/password credentials for this service using the supplied action.

        Extension method for Kotlin support.

        Parameters:
        configAction - a lambda action to configure the credentials
      • credentials

         final static <T extends Credentials> Unit credentials(CredentialsContainer $self, KClass<T> type, Function1<T, Unit> configAction)

        Configures the credentials for this service using the supplied action.

        Extension method for Kotlin support.

        Parameters:
        type - the type of credentials
        configAction - the lambda action to configure the credentials