Buckets:

|
download
raw
1.84 kB

Verifiable token-based authentication — full diagram

Pattern structure and behaviour diagram

flowchart LR
    Subject["Subject"]
    Enforcer["Enforcer"]
    Verifier["Verifier"]
    Cryptographer["Cryptographer"]
    KeyManager["Key manager"]
    System["System"]
    Registrar["Registrar"]
    TokenGenerator["Token generator"]
    Resetter["Resetter"]
    Authentication["[ref] Authentication"]

    Subject -->|"1: action(token[, args])"| Enforcer
    Enforcer -->|"2: verify(token)"| Verifier
    Verifier -->|"3: get_verification_key(token)"| KeyManager
    KeyManager -->|"4: verKeyInf/error"| Verifier
    Verifier -->|"5: verify_integrity(verKeyInf, token)"| Cryptographer
    Cryptographer -->|"6: ok/error"| Verifier
    Verifier -->|"7: [(principal[, t_args])]/error"| Enforcer
    Enforcer -->|"[principal] 8: action(principal[, t_args][, args])"| System
    Enforcer -->|"[error] 8: error"| Subject
    System -->|"[optional] 9: reply"| Subject

    Subject -->|"Authc.1: action(credential[, t_args])"| Authentication
    Authentication -->|"Authc.6: action(principal[, t_args])"| Registrar
    Registrar -->|"Authc.6.1: generate(principal[, t_args])"| TokenGenerator
    TokenGenerator -->|"Authc.6.2: get_generation_key()"| KeyManager
    KeyManager -->|"Authc.6.3: genKeyInf"| TokenGenerator
    TokenGenerator -->|"Authc.6.4: generate(genKeyInf, principal, expDate[, t_args])"| Cryptographer
    Cryptographer -->|"Authc.6.5: tokInt"| TokenGenerator
    TokenGenerator -->|"Authc.6.6: token = (principal, expDate[, t_args], tokInt)"| Registrar
    Registrar -->|"Authc.7: token"| Subject

    Resetter -->|"side-channel authentication"| Subject
    Subject -->|"reset(new_credential)"| Resetter

Xet Storage Details

Size:
1.84 kB
·
Xet hash:
df342c2d41c3a46a940bad6737c0f31b65dc4822ae39a65ced33dc02cdc36e3f

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.