Token Developer Portal
Token AI Support
X Platform - Entegrasyon
X Platform - Entegrasyon
  • Token X Entegrasyon
  • Welcome
  • İş Akışları & Hazır Sepetler
  • Token X Connect (Wire)
    • Hızlı Başlangıç
    • Genel Tanıtım
    • Geliştirici Dokümanı
    • Örnek Uygulamalar
    • Sık Sorulan Sorular
    • Cihaz Bilgilendirme
    • Protokol Bilgileri
    • Sorun Tespit Aracı
  • Token X Connect (Cloud)
    • Genel Tanıtım (TR)
    • Geliştirici Dokümanı (TR)
    • TokenX API Integration (EN)
    • Automation Software Simulator
    • Sık Sorulan Sorular
  • DESTEK
    • Geliştirici Destek
  • Test
    • Test Sürecimiz
  • APPSTORE
    • Tanıtım
Powered by GitBook
On this page
  • Types
  • References
  • ISSOUserDetails
  • ILoginProps
  • ILogoutProps
  • IProviderProps
  1. Token X admin panel integrations
  2. Authentication Integration
  3. Internal

TypeScript

Typescript...

Types

Types are exported.

import type { ITokenSSO } from '@token-public-org/token-sso-react-library';

// Use "ITokenSSO" with your own

//Ex: You want to store user details in state and you need to type.
const [user,setUser] = useState<ITokenSSO.TSSOProvider.ISSOUserDetails>({}) ;

References

ISSOUserDetails

key
type

merchantId

string

userId

string

email

string

name

string

ILoginProps

key
type
required

redirectUri

string

no

ILogoutProps

key
type
required

withRedirect

boolean

no

redirectUri

string

no

IProviderProps

key
type
required

children

ReactNode

yes

providerUrl

string

yes

Last updated 1 year ago