User Profile Controller (Combined Auth)
User profile with Web3 authentication
Path: /user-profile
Method: GET
Example Http Request
GET /user-profile HTTP/1.1
X-SIG: 0xf0745420866c7ec0615a2fa25afaa271cd763596fb4b87fbde763f4cb9cfe142575c22419490fb9db86a6d18801c7919f49b9042619ee339ea200cd8ad533cf41b
X-WAL: 0x5b38da6a701c568545dcfcb03fcb875f56beddc4
X-MES: Hello
Origin: http://localhost
Host: localhost:8080
Example Http Response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Access-Control-Allow-Origin: http://localhost
Access-Control-Allow-Credentials: true
Content-Type: application/json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: SAMEORIGIN
Content-Length: 821
{"displayName":null,"glbUrl":null,"avatarProfilePic":null,"colour":null,"channelId":"2d6d537b-054b-4ac5-80c3-1d9e58395f0e","disabled":false,"hashedEmail":null,"hashedWalletAddress":"tShReUwRU235T1/87WK7RHSIiQt0cERtxCOCTIsilXs=","playerId":"d2316390-8cbf-463d-935b-1858a0c6ddea","created":1764765552613,"createdOffset":"Z","createdZone":"Etc/UTC","authToken":"eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJWZWdhc0NpdHkiLCJ1c2VyRGF0YUNsYWltIjoie1wicm9sZXNcIjpbXCJVU0VSXCJdfSIsImNoYW5uZWxJZCI6IjJkNmQ1MzdiLTA1NGItNGFjNS04MGMzLTFkOWU1ODM5NWYwZSIsImNoYW5uZWxPcmlnaW4iOiJsb2NhbGhvc3QiLCJkZXBsb3ltZW50UmVmIjoibG9jYWxob3N0Iiwiand0VXVpZCI6ImVhZGQ2MDI5LTc5MzItNGZiMi04OTY2LThjZmNmODQ1OTZhMyIsImlhdCI6MTc2NDc2NTU1MiwiZXhwIjoxNzY0ODUxOTUyfQ.tWBmvy7svycbhCOSRwu3LlS5gLD9yaZz5w0lu95Z5R8","userPreferences":{"entries":[]},"createdByRpmAccount":false}
Example Curl Request
$ curl 'http://localhost:8080/user-profile' -i -X GET \
-H 'X-SIG: 0xf0745420866c7ec0615a2fa25afaa271cd763596fb4b87fbde763f4cb9cfe142575c22419490fb9db86a6d18801c7919f49b9042619ee339ea200cd8ad533cf41b' \
-H 'X-WAL: 0x5b38da6a701c568545dcfcb03fcb875f56beddc4' \
-H 'X-MES: Hello' \
-H 'Origin: http://localhost'
User Profile Controller (Combined Auth)