$auth - where is this defined and how?


I’m reviewing the code for the Vue.js sample application; the sample is very clear and it’s great that it’s following a standard vue.js sample. Allows me to compare the before and after ‘okta-enabled’ style.

(vue.js is still relatively new tech for me).

One thing that is confusing me however - is the variable $auth… where exactly is this defined?
Is this a standard Vue.js element or something else.

So far my not turned up a reference expaining this…

Located it within the okta-vue module and the documentation at https://www.npmjs.com/package/@okta/okta-vue

Can I suggest an update to the example to include that reference? Cheers!


Thanks @mbwhite! We will update the example to include the reference.
You can take a look at the source code of the okta-vue library here - https://github.com/okta/okta-oidc-js/blob/master/packages/okta-vue/src/Auth.js