mirror of
				https://github.com/TeaOSLab/EdgeAPI.git
				synced 2025-11-04 07:50:25 +08:00 
			
		
		
		
	[SSL证书]免费证书申请增加HTTP认证方式
This commit is contained in:
		@@ -2,9 +2,19 @@ package acme
 | 
			
		||||
 | 
			
		||||
import "github.com/TeaOSLab/EdgeAPI/internal/dnsclients"
 | 
			
		||||
 | 
			
		||||
type AuthType = string
 | 
			
		||||
 | 
			
		||||
const (
 | 
			
		||||
	AuthTypeDNS  AuthType = "dns"
 | 
			
		||||
	AuthTypeHTTP AuthType = "http"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
type Task struct {
 | 
			
		||||
	User        *User
 | 
			
		||||
	User     *User
 | 
			
		||||
	AuthType AuthType
 | 
			
		||||
	Domains  []string
 | 
			
		||||
 | 
			
		||||
	// DNS相关
 | 
			
		||||
	DNSProvider dnsclients.ProviderInterface
 | 
			
		||||
	DNSDomain   string
 | 
			
		||||
	Domains     []string
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user