Generate SIM Authentication Vectors

WARNING

This API is in alpha and may be subject to change. Therefore, we do not recommend using this in production.

Interested in this feature? Please reach out to products@wgtwo.com

Prerequisites

  1. An OAuth 2.0 client
  2. A client access token

Required scope

  • sim.authentication_vector:generate

Code

TIP

You can test our APIs without authorization by targetting sandbox.api.wgtwo.com instead of api.wgtwo.com and removing any authorization from the request/code sample.

Download proto definitions
curl -sL 'https://github.com/working-group-two/wgtwoapis/blob/master/image.bin?raw=true' -o wgtwo.bin
1
grpcurl \
  --protoset wgtwo.bin \
  --max-time=1.0 \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -d '{ "imsi": { "value": "133700000000" } }' \
  api.wgtwo.com:443 \
  wgtwo.sim.v0.SimAuthenticationService/GenerateEapAkaAuthenticationVector
1
2
3
4
5
6
7

Example result

{
  "authenticationVector": {
    "rand": "XfBxzavLRmy3VL5Ga520EQ==",
    "xres": "9p414DXUfSI=",
    "autn": "qGPxA4L/gAArYZv3K9EztA==",
    "ck": "krRWtmFYikYQcfa01GRfzQ==",
    "ik": "nDFev+JUkFrx/CyQLO5vWA=="
  }
}
1
2
3
4
5
6
7
8
9

Read more