219222fdda
* fix: challenge are not required for revoke.
13 lines
331 B
Go
13 lines
331 B
Go
package registration // import "github.com/xenolf/lego/registration"
|
|
|
|
import (
|
|
"crypto"
|
|
)
|
|
|
|
// User interface is to be implemented by users of this library.
|
|
// It is used by the client type to get user specific information.
|
|
type User interface {
|
|
GetEmail() string
|
|
GetRegistration() *Resource
|
|
GetPrivateKey() crypto.PrivateKey
|
|
}
|