reverted undefined to null

This commit is contained in:
Darko Luketic 2023-03-09 19:45:17 +01:00
parent 46f747c766
commit 8e285876fd
2 changed files with 28 additions and 28 deletions

View File

@ -1,7 +1,7 @@
{ {
"name": "dalu-vue3-keycloak", "name": "dalu-vue3-keycloak",
"description": "vue3 keycloak adapter", "description": "vue3 keycloak adapter",
"version": "0.0.1", "version": "0.0.2",
"type": "module", "type": "module",
"repository": "git@code.icod.de:dalu/vue3-keycloak.git", "repository": "git@code.icod.de:dalu/vue3-keycloak.git",
"files": [ "files": [

View File

@ -37,33 +37,33 @@ function defaultEmptyVueKeycloakInstance() {
return { return {
ready: false, ready: false,
authenticated: false, authenticated: false,
userName: undefined, userName: null,
fullName: undefined, fullName: null,
token: undefined, token: null,
tokenParsed: undefined, tokenParsed: null,
logoutFn: undefined, logoutFn: null,
loginFn: undefined, loginFn: null,
login: undefined, login: null,
createLoginUrl: undefined, createLoginUrl: null,
createLogoutUrl: undefined, createLogoutUrl: null,
createRegisterUrl: undefined, createRegisterUrl: null,
register: undefined, register: null,
accountManagement: undefined, accountManagement: null,
createAccountUrl: undefined, createAccountUrl: null,
loadUserProfile: undefined, loadUserProfile: null,
subject: undefined, subject: null,
idToken: undefined, idToken: null,
idTokenParsed: undefined, idTokenParsed: null,
realmAccess: undefined, realmAccess: null,
resourceAccess: undefined, resourceAccess: null,
refreshToken: undefined, refreshToken: null,
refreshTokenParsed: undefined, refreshTokenParsed: null,
timeSkew: undefined, timeSkew: null,
responseMode: undefined, responseMode: null,
responseType: undefined, responseType: null,
hasRealmRole: undefined, hasRealmRole: null,
hasResourceRole: undefined, hasResourceRole: null,
keycloak: undefined, keycloak: null,
} }
} }