Uses of Class
co.ankatech.ankasecure.sdk.auth.AuthSettings.Builder
Packages that use AuthSettings.Builder
-
Uses of AuthSettings.Builder in co.ankatech.ankasecure.sdk.auth
Methods in co.ankatech.ankasecure.sdk.auth that return AuthSettings.BuilderModifier and TypeMethodDescriptionstatic AuthSettings.BuilderAuthSettings.builder()A builder for callers that hold some values in hand - a decrypted secret, a token they were given - and want the rest resolved from properties and the environment.AuthSettings.Builder.environment(UnaryOperator<String> lookup) Replaces the environment lookup.AuthSettings.Builder.overlay(Properties source) Uses these properties as the middle precedence tier.AuthSettings.Builder.put(AuthSetting setting, String value) Supplies a value directly, taking precedence over properties and the environment.AuthSettings.Builder.putLazySecret(AuthSetting setting, Supplier<SecretChars> supplier) Registers a credential that is EXPENSIVE or FALLIBLE to produce - one that has to be decrypted, unsealed or fetched - so that it is produced only if something actually needs it.AuthSettings.Builder.putSecret(AuthSetting setting, SecretChars value) Supplies a credential directly.