From 691f0008dedf1d28fff4539036209e4ba9021698 Mon Sep 17 00:00:00 2001 From: tudor <7089284+tudddorrr@users.noreply.github.com> Date: Sun, 22 Sep 2024 19:14:38 +0100 Subject: [PATCH] steam auth examples --- src/docs/player-api.docs.ts | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/src/docs/player-api.docs.ts b/src/docs/player-api.docs.ts index 9e7fcf8..b6bbf30 100644 --- a/src/docs/player-api.docs.ts +++ b/src/docs/player-api.docs.ts @@ -16,8 +16,8 @@ const PlayerAPIDocs: APIDocs = { sample: { alias: { id: 1, - service: 'steam', - identifier: '11133645', + service: 'username', + identifier: 'jimbo', player: { id: '7a4e70ec-6ee6-418e-923d-b3a45051b7f9', props: [ @@ -38,6 +38,20 @@ const PlayerAPIDocs: APIDocs = { } } } + }, + { + title: 'Steam authentication with identity (identifier format is :)', + sample: { + service: 'steam', + identifier: 'talo:14000000bc9f006804c54b4032b27d0502002002cbfdcf771800000002000000060000004f0957cde6f88aecb090245624000000d8000000480000000500000033b19c0602002002fab015006438f58d8001b9d0000000008c57ef77fce61b780200551002000200f1cf060000000000d4dff043aed3c37739e65db7bc83d0196ecabeed867436df9cafa957ba08e29fe20739e47a3142ef1181e1fae857105545049f2bb6a6e86594fbf675246b5618b297d6535b605160f51650e61f516f05ed62163f5a0616c56c4fcbed3c049d7eedd65e69f23b843d8f92939b6987f9fc6980107079710' + } + }, + { + title: 'Steam authentication without identity', + sample: { + service: 'steam', + identifier: '14000000bc9f006804c54b4032b27d0502002002cbfdcf771800000002000000060000004f0957cde6f88aecb090245624000000d8000000480000000500000033b19c0602002002fab015006438f58d8001b9d0000000008c57ef77fce61b780200551002000200f1cf060000000000d4dff043aed3c37739e65db7bc83d0196ecabeed867436df9cafa957ba08e29fe20739e47a3142ef1181e1fae857105545049f2bb6a6e86594fbf675246b5618b297d6535b605160f51650e61f516f05ed62163f5a0616c56c4fcbed3c049d7eedd65e69f23b843d8f92939b6987f9fc6980107079710' + } } ] },