MCPcopy Create free account
hub / github.com/ddd/gpb / AuthCredentials

Class AuthCredentials

src/auth/auth.rs:12–19  ·  view source on GitHub ↗

Structure to store authentication credentials with expiration

Source from the content-addressed store, hash-verified

10
11// Structure to store authentication credentials with expiration
12pub struct AuthCredentials {
13 cookie: String,
14 gxf: String,
15 azt: String,
16 ist: String,
17 last_refresh: Instant,
18 valid_for: Duration,
19}
20
21impl AuthCredentials {
22 fn new() -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected