github.com/craicoverflow/tyk@v2.9.6-rc3+incompatible/coprocess/proto/coprocess_session_state.proto (about)

     1  syntax = "proto3";
     2  
     3  package coprocess;
     4  
     5  message AccessSpec {
     6    string url = 1;
     7    repeated string methods = 2;
     8  }
     9  
    10  message AccessDefinition {
    11    string api_name = 1;
    12    string api_id = 2;
    13    repeated string versions = 3;
    14    repeated AccessSpec allowed_urls = 4;
    15  }
    16  
    17  message BasicAuthData {
    18    string password = 1;
    19    string hash = 2;
    20  }
    21  
    22  message JWTData {
    23    string secret = 1;
    24  }
    25  
    26  message Monitor {
    27    repeated double trigger_limits = 1;
    28  }
    29  
    30  message SessionState {
    31    int64 last_check = 1;
    32  
    33    double allowance = 2;
    34    double rate = 3;
    35    double per = 4;
    36  
    37    int64 expires = 5;
    38    int64 quota_max = 6;
    39    int64 quota_renews = 7;
    40    int64 quota_remaining = 8;
    41    int64 quota_renewal_rate = 9;
    42  
    43    map<string, AccessDefinition> access_rights = 10;
    44  
    45    string org_id = 11;
    46    string oauth_client_id = 12;
    47    map<string, string> oauth_keys = 13;
    48  
    49    BasicAuthData basic_auth_data = 14;
    50  
    51    JWTData jwt_data = 15;
    52  
    53    bool hmac_enabled = 16;
    54    string hmac_secret = 17;
    55    bool is_inactive = 18;
    56    string apply_policy_id = 19;
    57    int64 data_expires = 20;
    58  
    59    Monitor monitor = 21;
    60  
    61    bool enable_detailed_recording = 22;
    62  
    63    map<string, string> metadata = 23;
    64  
    65    repeated string tags = 24;
    66    string alias = 25;
    67    string last_updated = 26;
    68  
    69    int64 id_extractor_deadline = 27;
    70    int64 session_lifetime = 28;
    71    repeated string apply_policies = 29;
    72  
    73    string certificate = 30;
    74  }