MCPcopy Create free account
hub / github.com/JSH32/Backpack / generate_token

Method generate_token

src/services/application.rs:37–52  ·  view source on GitHub ↗

Get a token for an application. # Arguments `id` - ID of the application. `user_id` - User who owns the application, if there is a mismatch this will return not found.

(
        &self,
        id: &str,
        user_id: Option<&str>,
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

tokenFunction · 0.80

Calls 2

by_conditionMethod · 0.80
new_jwtMethod · 0.80

Tested by

no test coverage detected