func NewAuthenticator(store *coal.Store, policy *Policy) *Authenticator {
	// initialize token
	coal.Init(policy.Token)

	// initialize clients
	for _, model := range policy.Clients {
		coal.Init(model)
	}

	return &Authenticator{
		store:  store,
		policy: policy,
	}
}
func NewAuthenticator(store *coal.Store, policy *Policy) *Authenticator {
	// initialize token
	coal.Init(policy.Token)

	// initialize clients
	for _, model := range policy.Clients {
		coal.Init(model)
	}

	return &Authenticator{
		store:  store,
		policy: policy,
	}
}
// NewAuthenticator constructs a new Authenticator from a store and policy.