auth.token.sub is the id encoding in a token. The Firebase Admin SDKs have a built-in method for verifying and decoding ID tokens. If the provided ID token has the correct format, is not expired, and is properly signed, the method returns the decoded ID token. You can grab the uid of the user or device from the decoded token.
So that mean inside the token.sub you have the uid of the user. But without the sdk you cannot see the real value cause is not decode. This is for security.
If you want to use this you need to decode this with example the verifyIdToken() method.
Example on Node.js
// idToken comes from the client app (shown above)
admin.auth().verifyIdToken(idToken)
.then(function(decodedToken) {
var uid = decodedToken.uid;
// ...
}).catch(function(error) {
// Handle error
});
Link here https://firebase.google.com/docs/auth/admin/verify-id-tokens
Hope that be helpful.