Skip to content
This repository has been archived by the owner on Apr 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #6 from nodes-vapor/Casperhr-patch-5
Browse files Browse the repository at this point in the history
Made a func in extension public
  • Loading branch information
Pedro Coutinho authored Jan 11, 2017
2 parents 31ff3c9 + 411bf48 commit f151f14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/JWTKeychain/Extensions/Request+User.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ extension Request {
///
/// - Returns: AccessToken
/// - Throws: No authorization header or invalid bearer authorization
func getAuthorizationBearerToken() throws -> AccessToken {
public func getAuthorizationBearerToken() throws -> AccessToken {

// Try to get the authorization header
guard let authHeader = self.auth.header else {
Expand Down

0 comments on commit f151f14

Please sign in to comment.