PageSourceSearch

https://www.mayrhofen.at/_nuxt/skiline-oauth-callback.BXYl94Wi.js

js mayrhofen.at collected 2026-10-02 09:57:19 UTC 1,548 bytes, 1 lines download raw bytes

1import{U as n,H as r,e as c,W as h,bz as l,bA as u,Z as d}from"./entry.69fIDJC2.js";import{C as p}from"./client-oauth2.IDls-zWt.js";import"./index.UNxH2UQT.js";const k={name:"SkilineOAuthCallback",setup(){r({title:"MyMoments - Skiline Oauth Callback"})},computed:{oAuthSettings(){return this.$store.getters["config/byKey"]("skilineOAuthSettings",null)}},async mounted(){if(!this.oAuthSettings){this.handleError();return}try{const s=new URLSearchParams(window.location.hash.replace("#","")).get("access_token");let t;if(s?t=s:t=(await new p(this.oAuthSettings).token.getToken(window.location.href)).accessToken,!t){this.handleError();return}this.$store.commit("user/index/setSkilineToken",t),await this.$store.dispatch("user/index/loadSkilineUserData"),await this.$store.dispatch("user/index/getCustomerInfo");const o=this.$store.getters["user/index/skilineId"];await this.$store.dispatch("user/index/connectSkilineToPeaksolution",{skilineUserId:o,skilineAuthToken:t,keycloakToken:t}),await this.$router.push(this.localePath("/my-moments"))}catch(e){this.handleError(e)}},methods:{handleError(){this.$router.push(this.localePath("/my-moments?status=error")),this.$toast.error(this.$store.getters["config/__"]("An unexpected error occurred. Please try again"),{autoClose:3e3})}}},m=e=>(l("data-v-f7022ef8"),e=e(),u(),e),_={class:"spinner-container"},f=m(()=>d("div",{class:"spinner-border text-primary"},null,-1)),$=[f];function g(e,s,t,o,a,i){return c(),h("div",_,$)}const y=n(k,[["render",g],["__scopeId","data-v-f7022ef8"]]);export{y as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.