Skip to content

Commit c11669e

Browse files
elpeteactions-user
authored andcommitted
Apply cfformat changes
1 parent 02c861e commit c11669e

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

models/jwt/JwtService.cfc

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -910,8 +910,7 @@ component accessors="true" singleton threadsafe {
910910
results.messages = e.type & ":" & e.message;
911911
return results;
912912
}
913-
}
914-
catch ( TokenInvalidException e ) {
913+
} catch ( TokenInvalidException e ) {
915914
// Do we have autoRefreshValidator turned on and we have an incoming refresh token?
916915
if ( variables.settings.jwt.enableAutoRefreshValidator && len( discoverRefreshToken() ) ) {
917916
autoRefreshTokens();
@@ -920,8 +919,7 @@ component accessors="true" singleton threadsafe {
920919
results.messages = e.type & ":" & e.message;
921920
return results;
922921
}
923-
}
924-
catch ( TokenNotFoundException e ) {
922+
} catch ( TokenNotFoundException e ) {
925923
// Do we have autoRefreshValidator turned on and we have an incoming refresh token?
926924
if ( variables.settings.jwt.enableAutoRefreshValidator && len( discoverRefreshToken() ) ) {
927925
autoRefreshTokens();
@@ -957,7 +955,7 @@ component accessors="true" singleton threadsafe {
957955
return results;
958956
}
959957

960-
private function autoRefreshTokens() {
958+
private function autoRefreshTokens(){
961959
// Try to Refresh the tokens
962960
var newTokens = this.refreshToken( discoverRefreshToken() );
963961
// Setup payload + authenticate for current request

0 commit comments

Comments
 (0)