user.go raw

   1  package registration
   2  
   3  import (
   4  	"crypto"
   5  )
   6  
   7  // User interface is to be implemented by users of this library.
   8  // It is used by the client type to get user specific information.
   9  type User interface {
  10  	GetEmail() string
  11  	GetRegistration() *Resource
  12  	GetPrivateKey() crypto.PrivateKey
  13  }
  14