Skip to content

[REQ] [dart-dio] Security like api key should be handled #6044

@jaumard

Description

@jaumard
Description

Jaguar generator is handling security in header and path automatically by exposing some methods on the main Api class to set token and api key.

Would be really useful if dart dio was able to handle this too.

The idea is to keep security name and value as a map under the main class, then have an interceptor checking if secure is needed and if needed set the correct header/query params based on the definition.

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