Class UtilsModule

java.lang.Object
google.registry.util.UtilsModule

@Module public abstract class UtilsModule extends Object
Dagger module to provide instances of various utils classes.
  • Constructor Details

    • UtilsModule

      public UtilsModule()
  • Method Details

    • provideSecureRandom

      @Singleton @Provides public static SecureRandom provideSecureRandom()
    • provideBase58StringGenerator

      @Singleton @Provides @Named("base58StringGenerator") public static StringGenerator provideBase58StringGenerator(SecureRandom secureRandom)
    • provideBase64StringGenerator

      @Singleton @Provides @Named("base64StringGenerator") public static StringGenerator provideBase64StringGenerator(SecureRandom secureRandom)
    • provideDigitsOnlyStringGenerator

      @Singleton @Provides @Named("digitOnlyStringGenerator") public static StringGenerator provideDigitsOnlyStringGenerator(SecureRandom secureRandom)