When developing services with the Designer, you will come to a point where you want to access system resources or want to send requests to other services. To be able to do that, you need to authenticate where your request comes from so that the PAS system can check if your request is valid and allowed.
These authentication requests are handled via tokens by the authenticator service.
Get a New Token
The authenticator service returns authentication tokens on request.
Task | Operation | Remark |
---|
Get a new valid token to identify a requester
| | Multiexcerpt include |
---|
MultiExcerptName | definition |
---|
PageWithExcerpt | getServiceToken |
---|
|
|
| Multiexcerpt include |
---|
MultiExcerptName | definition |
---|
PageWithExcerpt | getServiceAccountToken |
---|
|
|
Get a new valid token for header usage
| | Multiexcerpt include |
---|
MultiExcerptName | definition |
---|
PageWithExcerpt | getServiceTokenBearer |
---|
|
|
Having an instance of the authenticator service (which you can get with getAuthService), you can get the following information:
Information | Operation | Remark |
---|
UUID of the given token | | Multiexcerpt include |
---|
MultiExcerptName | definition |
---|
PageWithExcerpt | getUUIDFromToken |
---|
|
|