game-common / pragma.inventory / EntitlementProviderPlugin / getByProvider /

getByProvider #

open fun List<AccountCommon.IdProviderAccount>.getByProvider(idProvider: String): AccountCommon.IdProviderAccount?

Retrieves the associated IdProviderAccount for a given IdProvider, ex: "STEAM", "TWITCH", etc. or null if no such account can be found.