Skip to content

Conversation

@MattScarthSaunders
Copy link
Contributor

@MattScarthSaunders MattScarthSaunders commented Oct 21, 2025

https://github.com/ubio/squad-automation-cloud/issues/1308

Edit: updated and simplified to only include methods for use in other services (redis methods, getting + incrementing data)

Example token:

{
    clientId: string;
    clientName: string;
    serviceRestrictions: [
        { 
            serviceName: string;
            requestLimit: number;
        },
        ...
    ]
    

Example trial object (stored in redis, keyed like cache:framework:trialClient:<client_id>:<serviceName>):

{
    requestCount: number;
}

Copy link
Contributor

@danielolaviobr danielolaviobr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a man is holding a key and says i am the key keeper

@MattScarthSaunders MattScarthSaunders merged commit e8fb08a into main Oct 23, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants