Skip to content

Latest commit

 

History

History
9 lines (8 loc) · 293 Bytes

README.md

File metadata and controls

9 lines (8 loc) · 293 Bytes

tsql-jwt

JSON Web Tokens in T-SQL for SQL Server

Example Usage

select dbo.JWT_Encode(dbo.XmlToJson((select 'HS256' alg, 'JWT' typ for xml path, root)),
                      dbo.XmlToJson((select 'chris' name, 'true' admin for xml path, root)),
                      'secret')