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

Added authorization to crud #74

Closed
wants to merge 1 commit into from
Closed

Conversation

John-Connolly
Copy link
Contributor

No description provided.

@tanner0101 tanner0101 added the enhancement New feature or request label Jan 11, 2018
@tanner0101 tanner0101 added this to Backlog in Vapor 3 Feb 12, 2018
///
/// - returns: A future that will be completed (or failed) when the client is authorized
@discardableResult
public func authorize(with password: String) -> Future<RedisClient> {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would returning Future<Void> make more sense here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I think it would make more sense. I forget the reason why I made it return a RedisClient.

@tanner0101 tanner0101 changed the base branch from beta to master February 24, 2018 04:53
@tanner0101
Copy link
Member

I changed the base to master since Redis 3.0.0 is now residing there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants