fromSandboxTokenServer

fun fromSandboxTokenServer(sandboxId: String, options: SandboxTokenServerOptions = SandboxTokenServerOptions()): ConfigurableTokenSource

Deprecated

Use fromDevelopmentTokenServer instead

Replace with

fromDevelopmentTokenServer(sandboxId, DevelopmentTokenServerOptions(options.baseUrl))

Creates a ConfigurableTokenSource that queries a development token server for credentials.

Note: This token provider is insecure and should not be used in production.

See also