returning jwt in profile

This commit is contained in:
Tobias Kurze
2019-08-13 16:30:23 +02:00
parent 55e2e9f6b9
commit fb65086adb

View File

@@ -7,6 +7,7 @@
<h2 class="title">Profile</h2> <h2 class="title">Profile</h2>
<h3 class="title">Token validity ({{tokenValidity}})</h3> <h3 class="title">Token validity ({{tokenValidity}})</h3>
<h3 class="title">Refresh token validity ({{refreshTokenValidity}})</h3> <h3 class="title">Refresh token validity ({{refreshTokenValidity}})</h3>
<h3 class="title">access_token ({{access_token}})</h3>
<p>{{profile.id}}</p> <p>{{profile.id}}</p>
<p class="subtitle error-msg">{{ errorMsg }}</p> <p class="subtitle error-msg">{{ errorMsg }}</p>
</div> </div>
@@ -59,6 +60,9 @@
profile() { profile() {
return this.$store.state.profile; return this.$store.state.profile;
}, },
access_token() {
return this.$store.state.access_token;
}
}, },
}; };
</script> </script>