Skip to content

Commit

Permalink
add statusReason to signatory response
Browse files Browse the repository at this point in the history
  • Loading branch information
mickhansen committed May 3, 2024
1 parent 58f61fa commit 028fe78
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Criipto.Signatures/Criipto.Signatures.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<AnalysisMode>All</AnalysisMode>

<PackageId>Criipto.Signatures</PackageId>
<Version>1.13.0</Version>
<Version>1.13.1</Version>
<Authors>Mick Hansen</Authors>
<Company>Criipto</Company>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
Expand Down
8 changes: 8 additions & 0 deletions Criipto.Signatures/Models.cs
Original file line number Diff line number Diff line change
Expand Up @@ -831,6 +831,11 @@ public class CriiptoVerifyProviderInput {
/// </summary>
public string message { get; set; }

/// <summary>
/// Set a custom scope for the underlying authentication request.
/// </summary>
public string scope { get; set; }

/// <summary>
/// Enforces that signatories sign by unique evidence by comparing the values of previous evidence on the key you define. For Criipto Verify you likely want to use `sub` which is a unique pseudonym value present in all e-ID tokens issued.
/// </summary>
Expand Down Expand Up @@ -887,6 +892,9 @@ public class CriiptoVerifySignatureEvidenceProvider : SignatureEvidenceProvider,

[JsonProperty("name")]
public string name { get; set; }

[JsonProperty("scope")]
public string scope { get; set; }
#endregion
}
#endregion
Expand Down
13 changes: 13 additions & 0 deletions Criipto.Signatures/Operations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ fragment BasicDocument on Document {
fragment BasicSignatory on Signatory {
id
status
statusReason
href
downloadHref
reference
Expand Down Expand Up @@ -127,6 +128,7 @@ fragment BasicDocument on Document {
fragment BasicSignatory on Signatory {
id
status
statusReason
href
downloadHref
reference
Expand Down Expand Up @@ -198,6 +200,7 @@ mutation addSignatory($input: AddSignatoryInput!) {
fragment BasicSignatory on Signatory {
id
status
statusReason
href
downloadHref
reference
Expand Down Expand Up @@ -256,6 +259,7 @@ mutation addSignatories($input: AddSignatoriesInput!) {
fragment BasicSignatory on Signatory {
id
status
statusReason
href
downloadHref
reference
Expand Down Expand Up @@ -314,6 +318,7 @@ mutation changeSignatory($input: ChangeSignatoryInput!) {
fragment BasicSignatory on Signatory {
id
status
statusReason
href
downloadHref
reference
Expand Down Expand Up @@ -395,6 +400,7 @@ ... on JWTSignature {
fragment BasicSignatory on Signatory {
id
status
statusReason
href
downloadHref
reference
Expand Down Expand Up @@ -475,6 +481,7 @@ fragment BasicDocument on Document {
fragment BasicSignatory on Signatory {
id
status
statusReason
href
downloadHref
reference
Expand Down Expand Up @@ -546,6 +553,7 @@ mutation signActingAs($input: SignActingAsInput!) {
fragment BasicSignatory on Signatory {
id
status
statusReason
href
downloadHref
reference
Expand Down Expand Up @@ -645,6 +653,7 @@ fragment BasicDocument on Document {
fragment BasicSignatory on Signatory {
id
status
statusReason
href
downloadHref
reference
Expand Down Expand Up @@ -716,6 +725,7 @@ mutation deleteSignatory($input: DeleteSignatoryInput!) {
fragment BasicSignatory on Signatory {
id
status
statusReason
href
downloadHref
reference
Expand Down Expand Up @@ -785,6 +795,7 @@ query signatureOrder($id: ID!) {
fragment BasicSignatory on Signatory {
id
status
statusReason
href
downloadHref
reference
Expand Down Expand Up @@ -877,6 +888,7 @@ ... on JWTSignature {
fragment BasicSignatory on Signatory {
id
status
statusReason
href
downloadHref
reference
Expand Down Expand Up @@ -949,6 +961,7 @@ query signatory($id: ID!) {
fragment BasicSignatory on Signatory {
id
status
statusReason
href
downloadHref
reference
Expand Down
1 change: 1 addition & 0 deletions Criipto.Signatures/operations.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ fragment SignedDocument on Document {
fragment BasicSignatory on Signatory {
id
status
statusReason
href
downloadHref
reference
Expand Down

0 comments on commit 028fe78

Please sign in to comment.