Skip to content

Use Bearer authentication #60

Closed
Closed

Description

@tomasr78

Change query authentication to bearer authentication.

curl -X GET https://v2.convertapi.com/user -H 'Authorization: Bearer secret_or_token'

Activity

  1. tomasr78 commented on Aug 29, 2024

    @tomasr78
    ContributorAuthor

    The property that accepts the secret is ConvertApi::setApiSecret('xxxxxx');. I suggest renaming it to setApiCredentials because it will match the idea that a secret or token is accepted and not only a secret.

  2. laurynas-convertapi commented on Sep 14, 2024

    @laurynas-convertapi
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

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