Compare commits

...

6 Commits

2 changed files with 31 additions and 31 deletions

View File

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

View File

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