• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

box / box-java-sdk-gen / #349

11 Jul 2025 02:24PM UTC coverage: 35.58% (-0.06%) from 35.639%
#349

push

github

web-flow
test: Improve names in transfer integration test (box/box-codegen#759) (#358)

16957 of 47659 relevant lines covered (35.58%)

0.36 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

48.28
/src/main/java/com/box/sdkgen/internal/utils/JwtSignOptions.java
1
package com.box.sdkgen.internal.utils;
2

3
import com.box.sdkgen.serialization.json.EnumWrapper;
4

5
public class JwtSignOptions {
6
  protected JwtAlgorithm algorithm;
7
  protected String audience;
8
  protected String issuer;
9
  protected String subject;
10
  protected String jwtid;
11
  protected String keyid;
12
  protected PrivateKeyDecryptor privateKeyDecryptor;
13

14
  public JwtSignOptions(
15
      JwtAlgorithm algorithm,
16
      String audience,
17
      String issuer,
18
      String subject,
19
      String jwtid,
20
      String keyid) {
21
    this(algorithm, audience, issuer, subject, jwtid, keyid, new DefaultPrivateKeyDecryptor());
×
22
  }
×
23

24
  public JwtSignOptions(
25
      EnumWrapper<JwtAlgorithm> algorithm,
26
      String audience,
27
      String issuer,
28
      String subject,
29
      String jwtid,
30
      String keyid) {
31
    this(algorithm, audience, issuer, subject, jwtid, keyid, new DefaultPrivateKeyDecryptor());
×
32
  }
×
33

34
  public JwtSignOptions(
35
      JwtAlgorithm algorithm,
36
      String audience,
37
      String issuer,
38
      String subject,
39
      String jwtid,
40
      String keyid,
41
      PrivateKeyDecryptor privateKeyDecryptor) {
×
42
    this.algorithm = algorithm;
×
43
    this.audience = audience;
×
44
    this.issuer = issuer;
×
45
    this.subject = subject;
×
46
    this.jwtid = jwtid;
×
47
    this.keyid = keyid;
×
48
    this.privateKeyDecryptor = privateKeyDecryptor;
×
49
  }
×
50

51
  public JwtSignOptions(
52
      EnumWrapper<JwtAlgorithm> algorithm,
53
      String audience,
54
      String issuer,
55
      String subject,
56
      String jwtid,
57
      String keyid,
58
      PrivateKeyDecryptor privateKeyDecryptor) {
1✔
59
    this.algorithm = algorithm.getEnumValue();
1✔
60
    this.audience = audience;
1✔
61
    this.issuer = issuer;
1✔
62
    this.subject = subject;
1✔
63
    this.jwtid = jwtid;
1✔
64
    this.keyid = keyid;
1✔
65
    this.privateKeyDecryptor = privateKeyDecryptor;
1✔
66
  }
1✔
67

68
  public JwtAlgorithm getAlgorithm() {
69
    return algorithm;
1✔
70
  }
71

72
  public String getAudience() {
73
    return audience;
1✔
74
  }
75

76
  public String getIssuer() {
77
    return issuer;
1✔
78
  }
79

80
  public String getSubject() {
81
    return subject;
1✔
82
  }
83

84
  public String getJwtid() {
85
    return jwtid;
×
86
  }
87

88
  public String getKeyid() {
89
    return keyid;
1✔
90
  }
91

92
  public PrivateKeyDecryptor getPrivateKeyDecryptor() {
93
    return privateKeyDecryptor;
×
94
  }
95
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc