File tree Expand file tree Collapse file tree 2 files changed +237
-256
lines changed Expand file tree Collapse file tree 2 files changed +237
-256
lines changed Original file line number Diff line number Diff line change @@ -118,8 +118,7 @@ module MakeIDToken (Scope : Os_oauth2_server.SCOPE)
118
118
id_token : Jwt .t ;
119
119
scope : scope list ;
120
120
counter : int ref ;
121
- secret_key : string (* Needed to be able to check if the client sent the
122
- right id_token. This is the key used by HS256 to sign the token. *)
121
+ secret_key : string
123
122
}
124
123
125
124
let id_client_of_saved_token s = s.id_client
@@ -251,9 +250,6 @@ module MakeIDToken (Scope : Os_oauth2_server.SCOPE)
251
250
(* What about a refresh_token ? *)
252
251
(* ("refresh_token", `String refresh_token) ;*)
253
252
]
254
-
255
- (* * ---------- Function about token ---------- *)
256
- (* * ------------------------------------------ *)
257
253
end
258
254
259
255
module Basic_scope : Os_oauth2_server .SCOPE =
You can’t perform that action at this time.
0 commit comments