Save persists credentials from the store.
(ctx context.Context, id ID, secret Secret)
| 86 | GetAllMetadata(ctx context.Context) (map[ID]Secret, error) |
| 87 | // Save persists credentials from the store. |
| 88 | Save(ctx context.Context, id ID, secret Secret) error |
| 89 | // Upsert atomically replaces an existing credential or inserts a new one. |
| 90 | // On stores that do not support overwriting (e.g. macOS Keychain), it |
| 91 | // deletes the existing credential and then saves the new one under a mutex |
no outgoing calls