We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7b6c63 commit 6bc6946Copy full SHA for 6bc6946
oauth2/oauth2-core/src/main/java/org/springframework/security/oauth2/core/OAuth2AccessToken.java
@@ -114,7 +114,12 @@ public static final class TokenType implements Serializable {
114
115
private final String value;
116
117
- private TokenType(String value) {
+ /**
118
+ * Constructs a {@code TokenType} using the provided value.
119
+ * @param value the value of the token type
120
+ * @since 6.5
121
+ */
122
+ public TokenType(String value) {
123
Assert.hasText(value, "value cannot be empty");
124
this.value = value;
125
}
0 commit comments