|
@@ -4,6 +4,8 @@ type DPOPOptions struct {
|
|
|
// ValidationExecPath is the name of the executable to call for DPOP
|
|
// ValidationExecPath is the name of the executable to call for DPOP
|
|
|
// validation.
|
|
// validation.
|
|
|
ValidationExecPath string `json:"validation-exec-path,omitempty"`
|
|
ValidationExecPath string `json:"validation-exec-path,omitempty"`
|
|
|
|
|
+ // Backend signing key for DPoP access token
|
|
|
|
|
+ SigningKey string `json:"key"`
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func (o *DPOPOptions) GetValidationExecPath() string {
|
|
func (o *DPOPOptions) GetValidationExecPath() string {
|
|
@@ -12,3 +14,10 @@ func (o *DPOPOptions) GetValidationExecPath() string {
|
|
|
}
|
|
}
|
|
|
return o.ValidationExecPath
|
|
return o.ValidationExecPath
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+func (o *DPOPOptions) GetSigningKey() string {
|
|
|
|
|
+ if o == nil {
|
|
|
|
|
+ return ""
|
|
|
|
|
+ }
|
|
|
|
|
+ return o.SigningKey
|
|
|
|
|
+}
|