blob: 787fc22a561d0e88e9e7f91d31f97284318e900e [file] [log] [blame]
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
[
RuntimeEnabled=CredentialManager,
GarbageCollected
] interface CredentialsContainer {
[CallWith=ScriptState] Promise get(optional CredentialRequestOptions options);
[CallWith=ScriptState, TypeChecking=Interface] Promise store(Credential credential);
[CallWith=ScriptState] Promise requireUserMediation();
};