find

suspend fun find(where: (TokenMetadata) -> Boolean): ERROR CLASS: Symbol not found for Result<kotlin/collections/List<com/okta/authfoundation/credential/kmp/Credential>>

Returns all credentials matching the given where predicate.

Parameters

where

a function that receives TokenMetadata and returns true for credentials to include.


suspend fun find(predicate: (Credential) -> Boolean): ERROR CLASS: Symbol not found for Result<kotlin/collections/List<com/okta/authfoundation/credential/kmp/Credential>>

Returns all credentials matching the given predicate.

Parameters

predicate

a function that receives Credential and returns true for credentials to include.