Skip to content

Exposing userInfoUrl and supporting deserialisation through IUserInfoProvider #12

@mvriel

Description

@mvriel

For my work to support WebGL as an alternate path to the code that you have written, I need to expose the userInfoUrl to my jslib, and do my own deserialisation because I am unable to use the GetUserInfoAsync method.

Because of this, I want to ask you if you would be OK with adding the userInfoUrl property to IUserInfoProvider, and a method public IUserInfo DeserializeUserInfo(string json). The latter would just do JSONConvert, but it would keep which IUserInfo class to use internally to the *Auth classes; at the moment I need a switch statement to cast objects to the right type.

I can make a PR for you, but I though I'd ask first

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions