Ver Fonte

Polish RegisteredClient

Joe Grandja há 4 anos atrás
pai
commit
86997bc0ac

+ 3 - 2
oauth2-authorization-server/src/main/java/org/springframework/security/oauth2/server/authorization/client/RegisteredClient.java

@@ -90,10 +90,11 @@ public class RegisteredClient implements Serializable {
 	}
 	}
 
 
 	/**
 	/**
-	 * Returns the client secret.
+	 * Returns the client secret or {@code null} if not available.
 	 *
 	 *
-	 * @return the client secret
+	 * @return the client secret or {@code null} if not available
 	 */
 	 */
+	@Nullable
 	public String getClientSecret() {
 	public String getClientSecret() {
 		return this.clientSecret;
 		return this.clientSecret;
 	}
 	}