returning jwt in profile
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user