Skip to content

typescript-axios needs to let functions know if allows anonymous #22751

@johnwc

Description

@johnwc

When the code generates a function that supports both anonymous and other authentications methods. If the other methods are functions, it needs to pass something to the function to let it know that anonymous is allowed on the endpoint. Ex. when calling accessToken, I need to know if the endpoint supports anonymous so that i know if the authentication for getting a token fails, to not redirect to the login server for the user to login. To just ignore the failure to get token and return undefined.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions