Uses of Class
co.ankatech.ankasecure.sdk.security.SecretChars
Packages that use SecretChars
-
Uses of SecretChars in co.ankatech.ankasecure.sdk
Methods in co.ankatech.ankasecure.sdk with parameters of type SecretCharsModifier and TypeMethodDescriptionAnkaSecureSdk.authenticateApplication(String clientId, SecretChars clientSecret) Authenticates as an application and returns an authenticated SDK instance.AnkaSecureSdk.authenticateUser(String username, SecretChars password, String tenantId) Authenticates as a user and returns an authenticated SDK instance. -
Uses of SecretChars in co.ankatech.ankasecure.sdk.auth
Methods in co.ankatech.ankasecure.sdk.auth that return SecretCharsModifier and TypeMethodDescriptionClientCredentialsExternalTokenProvider.fetchExternalToken()CommandExternalTokenProvider.fetchExternalToken()ExplicitExternalTokenProvider.fetchExternalToken()ExternalTokenProvider.fetchExternalToken()Produces the current external token.FileExternalTokenProvider.fetchExternalToken()Methods in co.ankatech.ankasecure.sdk.auth that return types with arguments of type SecretCharsModifier and TypeMethodDescriptiondefault Optional<SecretChars>AuthSettings.secret(AuthSetting setting) Returns a setting whose value is a credential, wrapped so the caller can close it.Methods in co.ankatech.ankasecure.sdk.auth with parameters of type SecretCharsModifier and TypeMethodDescriptionAuthSettings.Builder.putSecret(AuthSetting setting, SecretChars value) Supplies a credential directly.Method parameters in co.ankatech.ankasecure.sdk.auth with type arguments of type SecretCharsModifier and TypeMethodDescriptionAuthSettings.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.Constructors in co.ankatech.ankasecure.sdk.auth with parameters of type SecretCharsModifierConstructorDescriptionClientCredentialsExternalTokenProvider(IssuerHttpClient issuerClient, String clientId, SecretChars clientSecret, String audience, String scope, Clock clock) Takes a defensive copy of the supplied token so the caller's ownclosedoes not empty this provider.NativeSecretTokenSource(co.ankatech.ankasecure.openapi.client.AnkaSecureOpenApiClient client, String clientId, SecretChars clientSecret)