File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed
oauth2/oauth2-core/src/main/java/org/springframework/security/oauth2/core Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2021 the original author or authors.
2
+ * Copyright 2002-2022 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -64,19 +64,6 @@ default boolean hasClaim(String claim) {
64
64
return getClaims ().containsKey (claim );
65
65
}
66
66
67
- /**
68
- * Returns {@code true} if the claim exists in {@link #getClaims()}, otherwise
69
- * {@code false}.
70
- * @param claim the name of the claim
71
- * @return {@code true} if the claim exists, otherwise {@code false}
72
- * @deprecated Use
73
- * {@link org.springframework.security.oauth2.core.ClaimAccessor#hasClaim} instead.
74
- */
75
- @ Deprecated
76
- default Boolean containsClaim (String claim ) {
77
- return hasClaim (claim );
78
- }
79
-
80
67
/**
81
68
* Returns the claim value as a {@code String} or {@code null} if it does not exist or
82
69
* is equal to {@code null}.
You can’t perform that action at this time.
0 commit comments