Skip to content

Commit a43dd7c

Browse files
committed
Add additional throws comment for generatToken method.
Change-Id: I9cfc589ade8a91040fc9c447740493fd49e392af
1 parent 2050f4b commit a43dd7c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cab-token-generator/java/com/google/auth/credentialaccessboundary/ClientSideCredentialAccessBoundaryFactory.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,9 @@ private ClientSideCredentialAccessBoundaryFactory(Builder builder) {
132132
*
133133
* @param accessBoundary
134134
* @return The Client-Side CAB token in an {@link AccessToken} object
135-
* @throws IOException
135+
* @throws IOException If an I/O error occurs while refrehsing the source credentials
136+
* @throws CelValidationException If the availability condition is an invalid CEL expression
137+
* @throws GeneralSecurityException If an error occurs during encryption
136138
*/
137139
public AccessToken generateToken(CredentialAccessBoundary accessBoundary)
138140
throws IOException, CelValidationException, GeneralSecurityException {

0 commit comments

Comments
 (0)