Skip to content

Commit 86997bc

Browse files
committed
Polish RegisteredClient
1 parent a740e81 commit 86997bc

File tree

1 file changed

+3
-2
lines changed
  • oauth2-authorization-server/src/main/java/org/springframework/security/oauth2/server/authorization/client

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,11 @@ public Instant getClientIdIssuedAt() {
9090
}
9191

9292
/**
93-
* Returns the client secret.
93+
* Returns the client secret or {@code null} if not available.
9494
*
95-
* @return the client secret
95+
* @return the client secret or {@code null} if not available
9696
*/
97+
@Nullable
9798
public String getClientSecret() {
9899
return this.clientSecret;
99100
}

0 commit comments

Comments
 (0)