We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ba64ce commit b6c6e7cCopy full SHA for b6c6e7c
src/main/kotlin/com/coder/toolbox/store/CoderSecretsStore.kt
@@ -8,6 +8,10 @@ import java.net.URL
8
* Provides Coder secrets backed by the secrets store service.
9
*/
10
class CoderSecretsStore(private val store: PluginSecretStore) {
11
+ @Deprecated(
12
+ message = "The URL is now stored the JSON backed settings store. Use CoderSettingsStore#lastDeploymentURL",
13
+ replaceWith = ReplaceWith("context.settingsStore.lastDeploymentURL")
14
+ )
15
val lastDeploymentURL: String = store["last-deployment-url"] ?: ""
16
17
fun tokenFor(url: URL): String? = store[url.host]
0 commit comments