Slide 30
Slide 30 text
Signing API Requests
https://docs-blockchain.line.biz/api-guide/Authentication
normalize
timestamp
nonce
API secret
signature
› Verify sender
› Tamper-proof
› Protect against replay attacks
› Dev tips
› Signing proxy server
› https://github.com/behumble/lbp-signing-proxy
› Sample snippets (Golang, JavaScript, C#)
› Go : https://github.com/line/blockchain-sample-link-cinema/blob/bfe38337f941dee0b342fe865ac0e38ac297e962/api/api.go#L117
› JS : https://github.com/behumble/lbp-signing-proxy/blob/master/lbp.js#L4
› C# : https://github.com/line/blockchain-sample-mage-duel/blob/master/Server/TCGSampleServer/Service/TCGGameService/LBD/Util/Signature.cs#L124