Skip to content

getToken method wrong arg #3

@alih70442

Description

@alih70442

در این قسمت از داک:
https://developers.basalam.com/docs/sdk/php/auth

این قسمت باید اصلاح بشه:

$tokenInfo = $auth->getToken(code: 'authorization_code_from_callback');

به این:

$tokenInfo = $auth->getToken([
    'code'=>'authorization_code_from_callback
']);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions