Altru SKY API documentation and code samples

The documentation pointed us to this code sample: https://github.com/blackbaud/sky-api-tutorial-auth-code-php

On line 38 of session.php it references Auth::logout();

https://github.com/blackbaud/sky-api-tutorial-auth-code-php/blob/master/includes/blackbaud/session.php#L38

which does not seem to exist in the class:

https://github.com/blackbaud/sky-api-tutorial-auth-code-php/blob/master/includes/blackbaud/auth.php

We haven’t gone too deep because we wanted to make sure the docs were right, are they?

Comments

  • Rosita Bradham
    Rosita Bradham Blackbaud Employee
    Tenth Anniversary Kudos 2 Name Dropper Participant

    FOUND THE ANSWER

    That Auth::logout(); is incorrect and has been reported to Blackbaud.

    The demo code still works if you delete that line.

  • Daniel Leonard
    Daniel Leonard Blackbaud Employee
    Eighth Anniversary Kudos 2 Name Dropper Participant

    @Rosita Bradham Thank you for pointing this out. The PHP code sample has been updated. Sorry for any inconvenience.

Categories