This repository has been archived on 2023-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
2016-12-23 00:41:30 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
2021-03-22 17:38:52 +00:00
|
|
|
// Package internal holds protobuf types used by the server.
|
2016-12-23 00:41:30 +00:00
|
|
|
package internal;
|
|
|
|
|
2021-03-22 17:38:52 +00:00
|
|
|
option go_package = "github.com/dexidp/dex/server/internal";
|
|
|
|
|
2016-12-23 00:41:30 +00:00
|
|
|
// RefreshToken is a message that holds refresh token data used by dex.
|
|
|
|
message RefreshToken {
|
|
|
|
string refresh_id = 1;
|
|
|
|
string token = 2;
|
|
|
|
}
|
2017-02-10 19:33:54 +00:00
|
|
|
|
|
|
|
// 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;
|
|
|
|
}
|