methods\Account\ShareByCode.phpView Source

Show: PublicProtectedPrivateinherited
    Table of Contents
    account.shareByCode

    Share current user by ID and temporary code

    In Temply API for global sharing you can use only login. But in some case if you wish you can share User's account by ID and temporary secret code. Suggested use for QR codes. Attention: generated code works for 2 minutes

    Attentions

    • Auth required

    Response

    • code: Generated share code. integer, required field

    • expires: Time, until code works. PHP Timestamp, required field
    Author
    Sergey Dilong  
    License
    GPL-2.0  
    Package
    Temply-Account\Methods  
    Documentation was generated by phpDocumentor v2.9.0.