Ramble
가치 있는 활동을 위한 마켓플레이스
사우디아라비아 인증 학생들을 위한 무료 할인 앱, 커피·패션·기술 할인 코드 제공, 온라인 및 캠퍼스 전용, 카드 없이 이용 가능
تسوى تطبيق خصومات مجاني للطلاب الموثّقين في السعودية. أكواد خصم وأسعار طلاب على القهوة والكشخة والتقنية، أونلاين وحول جامعتك. بدون بطاقة بنكية.
커머스GitHub @samifathi26온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
저장소 정보는 아직 수집하지 않았습니다.
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
Verify with Tiswa for iOS apps (Swift Package Manager)
저장소 README에서 가져옴
README 전체를 불러오는 중입니다.
README 전문 보기 ↗Verify with Tiswa from an iPhone app. The package starts the check with PKCE and opens the Tiswa app, or the web sheet in ASWebAuthenticationSession when Tiswa isn't installed. The shopper comes back to your app with a one-time code.
Docs: https://developers.tiswa.app/developers/mobile
Swift Package Manager: https://github.com/samifathi26/tiswa-verify-swift, from 0.1.0. iOS 15 or later.
import TiswaVerify
let tiswa = TiswaVerify(configuration: .init(
publishableKey: "tsw_pk_live_…",
program: "prg_…",
redirectURI: URL(string: "https://shop.example.sa/tiswa/app-callback")!))
let result = try await tiswa.verify(nonce: cart.id)
// Send result.code, result.codeVerifier and result.redirectURI to your backend,
// which calls POST /v1/oauth/token with the secret key.
Pass every URL your app opens to TiswaVerify.handle(_:) (onOpenURL, scene(_:openURLContexts:), and scene(_:continue:) for universal links).
Register the redirect for an iOS client in the Tiswa console. If verify throws, carry on at full price.
swift test
MIT. See LICENSE.