Symbol for Auth.JWTUtil missing from OST

Issue #2545 resolved
Cameron Mckain created an issue

The symbol for Auth.JWTUtil, the documentation for whom can be found at JWTUtil Class | Apex Reference Guide | Salesforce Developers, does not seem to have been generated in the Offline Symbol Table.

idea.log contains no errors related to that class or to the Auth namespace in general.

IntelliJ version: 2023.3.6

Comments (2)

  1. Scott Wells repo owner
    • changed status to open

    Hi. Thanks for reporting. Types in the standard Auth namespace are not included in the Salesforce Tooling REST completions?type=apex API response, so they have to be added explicitly. I use the platform seasonal update release notes information to know when to add new types, but either these were not included in the release notes or I missed them.

    I've just committed a change to add all missing types to the Auth namespace including:

    • Auth.IntegratingAppType
    • Auth.JWTUtil
    • Auth.JWTValidationException
    • Auth.Oauth2TokenExchangeHandler
    • Auth.OauthToken
    • Auth.OauthTokenType
    • Auth.OAuth2TokenExchangeType
    • Auth.TokenValidationResult

    And, yes, the Oauth vs OAuth case differences above are intentional and reflect the actual documented type names.

    These will be included in the next build, likely for release this Thursday, and will require an OST regen to see the results.

  2. Log in to comment