Skip to content

Commit 4f0d888

Browse files
Doc fix
1 parent a39b4e2 commit 4f0d888

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,15 @@ String token = token.getToken();
5858
```
5959

6060
### Specifying token identifier prefix
61-
A prefix for the token identifier can optionally be provided to restrict the user session after getting through the queue to the one used before entering the queue. Once the user is through the queue the token identifier is provided to the target application in the Known User token. The format of the token identifier is then "[YOUR PREFIX]~[GUID]", e.g: AnfTDnpwazllYmnmgaCJ8tErV80YHv77ni5NgqQNhfWwxNqrNcHb.~e937ef0d-48ec-4ff7-866e-52033273cb3d.
61+
A prefix for the token identifier can optionally be provided to restrict the user session after getting through the queue to the one used before entering the queue. Once the user is through the queue the token identifier is provided to the target application in the Known User token. The format of the token identifier is then "[YOUR PREFIX]~[GUID]", e.g: AnfTDnpwazllYmnmgaCJ8tErV80YHv77ni5NgqQNhfWwxNqrNcHb~e937ef0d-48ec-4ff7-866e-52033273cb3d.
6262
```
6363
String tokenIdentifierPrefix = "AnfTDnpwazllYmnmgaCJ8tErV80YHv77ni5NgqQNhfWwxNqrNcHb";
6464
IEnqueueToken token = Token
6565
.enqueue("ticketania", tokenIdentifierPrefix)
6666
.generate(secretKey);
6767
6868
String tokenIdentifier = token.getTokenIdentifier();
69-
// tokenIdentifier example: AnfTDnpwazllYmnmgaCJ8tErV80YHv77ni5NgqQNhfWwxNqrNcHb.~e937ef0d-48ec-4ff7-866e-52033273cb3d
69+
// tokenIdentifier example: AnfTDnpwazllYmnmgaCJ8tErV80YHv77ni5NgqQNhfWwxNqrNcHb~e937ef0d-48ec-4ff7-866e-52033273cb3d
7070
```
7171

7272
## Serialized Token

0 commit comments

Comments
 (0)