2016-12-23 06:11:30 +05:30
|
|
|
syntax = "proto3";
|
|
|
|
|
2021-03-22 23:08:52 +05:30
|
|
|
// Package internal holds protobuf types used by the server.
|
2016-12-23 06:11:30 +05:30
|
|
|
package internal;
|
|
|
|
|
2021-03-22 23:08:52 +05:30
|
|
|
option go_package = "github.com/dexidp/dex/server/internal";
|
|
|
|
|
2016-12-23 06:11:30 +05:30
|
|
|
// RefreshToken is a message that holds refresh token data used by dex.
|
|
|
|
message RefreshToken {
|
|
|
|
string refresh_id = 1;
|
|
|
|
string token = 2;
|
|
|
|
}
|
2017-02-11 01:03:54 +05:30
|
|
|
|
|
|
|
// IDTokenSubject represents both the userID and connID which is returned
|
|
|
|
// as the "sub" claim in the ID Token.
|
|
|
|
message IDTokenSubject {
|
|
|
|
string user_id = 1;
|
|
|
|
string conn_id = 2;
|
|
|
|
}
|