Skip to content

jimliu7434/auth-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auth-Server

API

  • /token/get

    • 功能:產生 token
    • request
    • response
    200 OK
    `string` token string
    
    500 Server Error
  • /token/check

    • 功能: 驗證 token
    • request
    header: jwt: {{token string}}
    • response
    200 OK
    `string` token verify OK
    
    403 Forbidden
    
    500 Server Error
  • /session/get

    • 功能: get session object
    • request
    header: jwt: {{token string}}
    • response
    200 OK
    `object` session object
    
    403 Forbidden
    
    500 Server Error
  • /session/set

    • 功能: replace session object
    • request
    header: jwt: {{token string}}
    body: session object
    • response
    200 OK
    
    403 Forbidden
    
    500 Server Error

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published