Skip to content

Commit 1c6dc2a

Browse files
zepatrikory-bot
authored andcommitted
chore: remove two more db field tags
GitOrigin-RevId: 5416005a52f51dec01fb5c34b23d96c5c3544a29
1 parent ba0cb06 commit 1c6dc2a

18 files changed

+2
-20
lines changed

flow/flow.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ type Flow struct {
175175

176176
// IdentityProviderSessionID is the session ID of the end-user that authenticated.
177177
// If specified, we will use this value to propagate the logout.
178-
IdentityProviderSessionID sqlxx.NullString `db:"identity_provider_session_id" json:"is,omitempty"`
178+
IdentityProviderSessionID sqlxx.NullString `db:"-" json:"is,omitempty"`
179179

180180
LoginCSRF string `db:"-" json:"lc,omitempty"`
181181

@@ -223,7 +223,7 @@ type Flow struct {
223223
// other unique value).
224224
//
225225
// If you fail to compute the proper value, then authentication processes which have id_token_hint set might fail.
226-
ForceSubjectIdentifier string `db:"forced_subject_identifier" json:"fs,omitempty"`
226+
ForceSubjectIdentifier string `db:"-" json:"fs,omitempty"`
227227

228228
// Context is an optional object which can hold arbitrary data. The data will be made available when fetching the
229229
// consent request under the "context" field. This is useful in scenarios where login and consent endpoints share

persistence/sql/migratest/fixtures/hydra_oauth2_flow/challenge-0002.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"r": "http://request/0002",
1313
"ia": "2022-02-15T22:20:21Z",
1414
"a": "acr-0002",
15-
"fs": "force_subject_id-0002",
1615
"ct": {},
1716
"la": null,
1817
"dh": null,

persistence/sql/migratest/fixtures/hydra_oauth2_flow/challenge-0003.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
"si": "auth_session-0003",
1414
"ia": "2022-02-15T22:20:21Z",
1515
"a": "acr-0003",
16-
"fs": "force_subject_id-0003",
1716
"ct": {},
1817
"la": null,
1918
"dh": null,

persistence/sql/migratest/fixtures/hydra_oauth2_flow/challenge-0004.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"si": "auth_session-0004",
1717
"ia": "2022-02-15T22:20:21Z",
1818
"a": "acr-0004",
19-
"fs": "force_subject_id-0004",
2019
"ct": {},
2120
"la": null,
2221
"dh": null,

persistence/sql/migratest/fixtures/hydra_oauth2_flow/challenge-0005.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"si": "auth_session-0005",
1717
"ia": "2022-02-15T22:20:21Z",
1818
"a": "acr-0005",
19-
"fs": "force_subject_id-0005",
2019
"ct": {},
2120
"la": null,
2221
"dh": null,

persistence/sql/migratest/fixtures/hydra_oauth2_flow/challenge-0006.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"si": "auth_session-0006",
1717
"ia": "2022-02-15T22:20:21Z",
1818
"a": "acr-0006",
19-
"fs": "force_subject_id-0006",
2019
"ct": {},
2120
"la": null,
2221
"dh": null,

persistence/sql/migratest/fixtures/hydra_oauth2_flow/challenge-0007.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"si": "auth_session-0007",
1717
"ia": "2022-02-15T22:20:21Z",
1818
"a": "acr-0007",
19-
"fs": "force_subject_id-0007",
2019
"ct": {},
2120
"la": null,
2221
"dh": null,

persistence/sql/migratest/fixtures/hydra_oauth2_flow/challenge-0008.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"si": "auth_session-0008",
1717
"ia": "2022-02-15T22:20:21Z",
1818
"a": "acr-0008",
19-
"fs": "force_subject_id-0008",
2019
"ct": {
2120
"context": "0008"
2221
},

persistence/sql/migratest/fixtures/hydra_oauth2_flow/challenge-0009.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"si": "auth_session-0009",
1717
"ia": "2022-02-15T22:20:21Z",
1818
"a": "acr-0009",
19-
"fs": "force_subject_id-0009",
2019
"ct": {
2120
"context": "0009"
2221
},

persistence/sql/migratest/fixtures/hydra_oauth2_flow/challenge-0010.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"si": "auth_session-0010",
1717
"ia": "2022-02-15T22:20:21Z",
1818
"a": "acr-0010",
19-
"fs": "force_subject_id-0010",
2019
"ct": {
2120
"context": "0010"
2221
},

0 commit comments

Comments
 (0)