LPS-31056 Portal API for Portal Safe implementation