Skip to Content
This project is in active development. Features and behaviors may change without notice.
DocumentationAPI ReferenceAPI Reference

API Reference

This section provides detailed documentation on all public APIs offered by the SAuthBase SDK.
Each method, function, and type definition includes comprehensive information such as purpose, usage, return values, examples, and error codes.


Included Topics

  • sauthbase Class
    • Initialization / Retrieving the instance
    • Generating authentication page URLs
    • Fetching Scratch user information
    • HMAC, encryption, and decryption
    • Token verification, generation, and decoding
  • Type Definitions (APIResult, userInfoProps, etc.)

Intended Audience

This reference is intended for developers integrating SAuthBase features into their systems, as well as engineers seeking deeper control and advanced customization.


Next Steps

Last updated on