Skip to content

Dependency on HttpContext / Session Variables #1

@aarondcoleman

Description

@aarondcoleman

Every data call to the methods in ConnectToiHealthlabs.cs depend on the access token being in HttpContext.Session. What if an application wanted to store the key in a database? What if it wasn't a web app at all but a mobile app that was using a shared credential obtained from a web app?

My suggestion for a quick fix would be to pass in a string in that parameter list instead.

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