# Passkey
Go Client for interfacing with password safe for in-code credentials

## Usage
Initialize a new passkey as a global var:
```
var pk = passkey.New()
```       
Add auth POST/GET methods to your HTTP router:
```
func main() {
	router := httprouter.New()
	port := ":8080"
	router.POST("/auth", pk.AuthPOST)
	router.GET("/auth", pk.AuthGET)
	log.Fatal(http.ListenAndServe(port, router))
}
```
Access credentials in your code
```
t, err := torq.NewClient(pk.Service.SSO.Credential.Username, pk.Service.SSO.Credential.Password)
```
