Skip to content

Commit

Permalink
steam auth examples
Browse files Browse the repository at this point in the history
  • Loading branch information
tudddorrr committed Sep 22, 2024
1 parent 611eb24 commit 691f000
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions src/docs/player-api.docs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ const PlayerAPIDocs: APIDocs<PlayerAPIService> = {
sample: {
alias: {
id: 1,
service: 'steam',
identifier: '11133645',
service: 'username',
identifier: 'jimbo',
player: {
id: '7a4e70ec-6ee6-418e-923d-b3a45051b7f9',
props: [
Expand All @@ -38,6 +38,20 @@ const PlayerAPIDocs: APIDocs<PlayerAPIService> = {
}
}
}
},
{
title: 'Steam authentication with identity (identifier format is <identity>:<ticket>)',
sample: {
service: 'steam',
identifier: 'talo:14000000bc9f006804c54b4032b27d0502002002cbfdcf771800000002000000060000004f0957cde6f88aecb090245624000000d8000000480000000500000033b19c0602002002fab015006438f58d8001b9d0000000008c57ef77fce61b780200551002000200f1cf060000000000d4dff043aed3c37739e65db7bc83d0196ecabeed867436df9cafa957ba08e29fe20739e47a3142ef1181e1fae857105545049f2bb6a6e86594fbf675246b5618b297d6535b605160f51650e61f516f05ed62163f5a0616c56c4fcbed3c049d7eedd65e69f23b843d8f92939b6987f9fc6980107079710'
}
},
{
title: 'Steam authentication without identity',
sample: {
service: 'steam',
identifier: '14000000bc9f006804c54b4032b27d0502002002cbfdcf771800000002000000060000004f0957cde6f88aecb090245624000000d8000000480000000500000033b19c0602002002fab015006438f58d8001b9d0000000008c57ef77fce61b780200551002000200f1cf060000000000d4dff043aed3c37739e65db7bc83d0196ecabeed867436df9cafa957ba08e29fe20739e47a3142ef1181e1fae857105545049f2bb6a6e86594fbf675246b5618b297d6535b605160f51650e61f516f05ed62163f5a0616c56c4fcbed3c049d7eedd65e69f23b843d8f92939b6987f9fc6980107079710'
}
}
]
},
Expand Down

0 comments on commit 691f000

Please sign in to comment.