Uses of Class
co.ankatech.ankasecure.sdk.AuthenticatedSdk
Packages that use AuthenticatedSdk
-
Uses of AuthenticatedSdk in co.ankatech.ankasecure.sdk
Methods in co.ankatech.ankasecure.sdk that return AuthenticatedSdkModifier 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.AuthenticatedSdk.withOverwrite()Convenience wither equivalent towithOverwritePolicy(OverwritePolicy.OVERWRITE): returns a NEW immutableAuthenticatedSdkwhose file-output operations atomically replace an existing destination.AuthenticatedSdk.withOverwritePolicy(OverwritePolicy overwritePolicy) Returns a NEW immutableAuthenticatedSdkthat appliesoverwritePolicyto every file-output operation, sharing this instance's JWT and HTTP client. -
Uses of AuthenticatedSdk in co.ankatech.ankasecure.sdk.examples
Methods in co.ankatech.ankasecure.sdk.examples that return AuthenticatedSdkModifier and TypeMethodDescriptionstatic AuthenticatedSdkExampleUtil.authenticate(Properties props) Authenticates using encrypted credentials stored incli.propertiesand returns anAuthenticatedSdk.Methods in co.ankatech.ankasecure.sdk.examples with parameters of type AuthenticatedSdkModifier and TypeMethodDescriptionstatic ExamplePlaygroundKeysExamplePlaygroundKeys.from(Properties props, AuthenticatedSdk sdk) Builds a resolver from the loadedcli.propertiesand an authenticated SDK.