pub fn platform() -> Platform
return the runtime Platform so cross-platform code can know what kind of credential is in use.
Platform