0001    //
0002    //  Credentials.swift
0003    //  HttpBasicAuth
0004    //
0005    //  This source file is part of the HttpBasicAuth open source project
0006    //
0007    //  Created by John Becker on 1/13/16.
0008    //  Copyright © 2016 Beckersoft. All rights reserved.
0009    //  Licensed under MIT License
0010    //
0011    //  See LICENSE.txt for license information.
0012    //
0013    
0014    /// Struct to represent user credentials
0015    public struct Credentials
BasicAuth.swift:46
    public class func getCredentials(headers:[String:String]) -> Credentials? {
BasicAuth.swift:59
                return Credentials(username:userPass[1], password:userPass[2])
{ 0016 0017 /// The username 0018 public let username:String 0019 0020 /// The password 0021 public let password:String 0022 } 0023