Skip to content

Add support for per-request Token Scope customization #3

Description

@edorphy

Support for enabling tokens to have a specified scope to increases trust and transparency with this package. Consumers might only want some operations to occur with the token and this can be limited by the scope of the token.
https://developer.apple.com/documentation/appstoreconnectapi/generating-tokens-for-api-requests#Determine-the-Scope-of-the-Token

Add a mechanism to enable per-request token scopes.

This cannot be done with the operationID alone because the token scopes require full path components and query parameters. Likely this would have to be a closure of sorts where the input is the endpoint, and the output is the scope(s) to apply to the token.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions