Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Server-SDK-Python

Functions

  • get_backend_info(base_url)
  • decode_token(base_url, api_secret, project_id, token, expected_request_hash=None)
  • get_trusted_backends(base_url)

Usage

from ua_server_sdk import get_backend_info, decode_token, get_trusted_backends

info = get_backend_info("http://localhost:3001")
result = decode_token(
    base_url="http://localhost:3001",
    api_secret="<secret>",
    project_id="com.example.app",
    token="<token>",
    expected_request_hash="<sha256>"
)
trusted = get_trusted_backends("http://localhost:3001")

About

Python helper SDK for backend info and decodeToken.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages