![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
@st-graphics/premium
Advanced tools
client/premium.js
> .fetchContent()
resourceKey
getPremiumContentUrl
lambdaSESSIONID
not present in cookieclient/premium.js
> .fetchPublicContent()
Render login widget
Client initialize login flow
client/premium.js
> .getAuthorizationUrl()
href
of login <a>
redirect_uri
in query string set to /create-session
lambda endpointwindow.location
passed into state
in query stringhttps://ds-acc-auth.sphdigital.com/amserver/oauth2/authorize?response_type=code&client_id=st_graphics&state=eyJyZWRpcmVjdF91cmwiOiJodHRwOi8vc3QtdmlzdWFscy5jb20vaW5mb2dyYXBoaWNzL2hkYi1sZWFzZS0yMDE4L2luZGV4Lmh0bWwifQ%3D%3D&redirect_uri=https%3A%2F%2Fepc9c723qd.execute-api.ap-southeast-1.amazonaws.com%2Fproduction%2Fcreate-session&scope=uid%20aologinid%20aovisitorid%20aonickname%20aoregservice
/create-session
lambda endpointcode
and state
functions/createSession/index.js
functions/createSession/authenticate.js
> exchangeToken
functions/createSession/authenticate.js
> fetchUserInfo
functions/createSession/authenticate.js
> verifyUser
functions/createSession/Session.js
request origin
(eg. https://graphics.straitstimes.com/interactives/2018/12/awesome-story) from state
SESSIONID
in cookieRedirect back. Set-cookie SESSIONID
Fetch JSON again on redirect back
client/premium.js
> .fetchContent()
getPremiumContentUrl
lambdaSESSIONID
present in cookiefunctions/getPremiumContentUrl/index.js
& functions/getPremiumContentUrl/authenticate.js
functions/getPremiumContentUrl/authenticate.js
> renewCredential
functions/getPremiumContentUrl/authenticate.js
> fetchUserInfo
functions/getPremiumContentUrl/authenticate.js
> verifyUser
functions/getPremiumContentUrl/Session.js
FAQs
ST Graphics Premium implementation
The npm package @st-graphics/premium receives a total of 0 weekly downloads. As such, @st-graphics/premium popularity was classified as not popular.
We found that @st-graphics/premium demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.