Contents

listCredentials()

Retrieves a list of of credentials to which the app has access rights.

Declaration

func listCredentials() async throws -> [CredentialSession.Credential]

Mentioned in

Return Value

An array of credentials to which the calling app has access rights. The order of credentials in this array is random.

Discussion

When you call this method, the framework caches a snapshot of these credentials. Because credentials can change, refresh your data models whenever your app performs any kind of write operation using the SecureElementCredential framework. Also update whenever your app returns to the foreground.

See Also

Accessing credentials