setTagsAsync
abstract suspend fun setTagsAsync(tags: Map<String, String>): ERROR CLASS: Symbol not found for Result<com/okta/authfoundation/credential/kmp/Credential>
Updates the tags for this credential and returns a new snapshot.
This credential instance retains the old tags after the call. Always use the returned credential for subsequent operations.
Return
Result.success with a new Credential snapshot containing the updated tags, or Result.failure with:
IllegalStateException if this credential has been deleted.
Other exceptions if the underlying storage operation fails.
Parameters
tags
the new tag map to associate with this credential.