Skip to content

What is userSession? #5

@majortom64

Description

@majortom64

In congito/cognito.js you have the following code:

export default class CognitoAuth {
// The constructor for this class will initialize our userSession
// as null
constructor () {
this.userSession = null
}

userSession is never referenced or touched again anywhere in the code. What does it do or why is it there? I cannot find any references to it in Vue.js, Vue Router or Vue, nor do I find a way it would be used by the Cognito JS SDK. What am I missing? :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions