Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add admin logout API #90

Merged
merged 2 commits into from Sep 18, 2018
Merged

Add admin logout API #90

merged 2 commits into from Sep 18, 2018

Conversation

mederic-p
Copy link
Contributor

@mederic-p mederic-p commented Sep 17, 2018

Closes #88

Overview

This PR adds the admin logout endpoint.

Usage

Use is similar to the client logout:

self.apiClient.logout { (response) in
    switch response {
    case .success(data: let data): print(data)
    case .fail(error: let error): print(error)
    }
}

@ghost ghost assigned mederic-p Sep 17, 2018
@ghost ghost added the s2/wip 🚧 This is still being worked on label Sep 17, 2018
@mederic-p mederic-p changed the title Add admin logout Add admin logout API Sep 17, 2018
@mederic-p mederic-p changed the base branch from 81-admin-login to master September 18, 2018 04:44
@mederic-p mederic-p merged commit d0b8c20 into master Sep 18, 2018
@ghost ghost removed the s2/wip 🚧 This is still being worked on label Sep 18, 2018
@mederic-p mederic-p deleted the 88-admin-logout branch September 18, 2018 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants