Skip to main content
Skip table of contents

getServiceToken()

Static operation.

This operation returns a new valid authorization token for the current service. it is the same as getServiceAccountToken() but implemented as a static operation so that you do not need to create an instance of AuthService first.

You can use this token to authenticate the caller when calling other services.

The returned token is service related, not user related.

Parameters

Name

Type

Direction

Description

Allowed Values/Example


String

return

Returns a valid token. The token is valid for a specific period of time.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.