We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4162ad5 commit 3da62daCopy full SHA for 3da62da
models/jwt/JwtService.cfc
@@ -94,6 +94,13 @@ component accessors="true" singleton{
94
getAuthService().logout();
95
}
96
97
+ /**
98
+ * Shortcut function to our authentication services to check if we are logged in
99
+ */
100
+ boolean function isLoggedIn(){
101
+ return getAuthService().isLoggedIn();
102
+ }
103
+
104
/**
105
* Create a token according to the passed user object and custom claims.
106
* We are assuming the user is a valid and authenticated user.
0 commit comments