Compare commits

..

No commits in common. "master" and "v0.0.1" have entirely different histories.

2 changed files with 31 additions and 31 deletions

View File

@ -1,7 +1,7 @@
{ {
"name": "dalu-vue3-keycloak", "name": "vue3-keycloak",
"description": "vue3 keycloak adapter", "private": false,
"version": "0.0.4", "version": "0.0.1",
"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

@ -6,7 +6,7 @@ export const KeycloakSymbol = Symbol('keycloak')
import * as vue from 'vue' import * as vue from 'vue'
export default { export default {
install: async function(app, params = {}) { install: async function() {
if (installed) return if (installed) return
installed = true installed = true
@ -37,33 +37,33 @@ function defaultEmptyVueKeycloakInstance() {
return { return {
ready: false, ready: false,
authenticated: false, authenticated: false,
userName: null, userName: undefined,
fullName: null, fullName: undefined,
token: null, token: undefined,
tokenParsed: null, tokenParsed: undefined,
logoutFn: null, logoutFn: undefined,
loginFn: null, loginFn: undefined,
login: null, login: undefined,
createLoginUrl: null, createLoginUrl: undefined,
createLogoutUrl: null, createLogoutUrl: undefined,
createRegisterUrl: null, createRegisterUrl: undefined,
register: null, register: undefined,
accountManagement: null, accountManagement: undefined,
createAccountUrl: null, createAccountUrl: undefined,
loadUserProfile: null, loadUserProfile: undefined,
subject: null, subject: undefined,
idToken: null, idToken: undefined,
idTokenParsed: null, idTokenParsed: undefined,
realmAccess: null, realmAccess: undefined,
resourceAccess: null, resourceAccess: undefined,
refreshToken: null, refreshToken: undefined,
refreshTokenParsed: null, refreshTokenParsed: undefined,
timeSkew: null, timeSkew: undefined,
responseMode: null, responseMode: undefined,
responseType: null, responseType: undefined,
hasRealmRole: null, hasRealmRole: undefined,
hasResourceRole: null, hasResourceRole: undefined,
keycloak: null, keycloak: undefined,
} }
} }