Skip to content
Snippets Groups Projects
Commit 768012f2 authored by Ooo0oO0o0oO's avatar Ooo0oO0o0oO
Browse files

mv Accesskey into auth_ext.go

parent 3611b382
No related branches found
No related tags found
package filter
type AccessKeyPair struct {
AccessKey string
SecretKey string
ConsumerSide string
ProviderSide string
Creator string
Options string
}
......@@ -5,6 +5,15 @@ import (
"github.com/apache/dubbo-go/protocol"
)
type AccessKeyPair struct {
AccessKey string `yaml:"accessKey" json:"accessKey,omitempty" property:"accessKey"`
SecretKey string `yaml:"secretKey" json:"secretKey,omitempty" property:"secretKey"`
ConsumerSide string `yaml:"consumerSide" json:"ConsumerSide,consumerSide" property:"consumerSide"`
ProviderSide string `yaml:"providerSide" json:"providerSide,omitempty" property:"providerSide"`
Creator string `yaml:"creator" json:"creator,omitempty" property:"creator"`
Options string `yaml:"options" json:"options,omitempty" property:"options"`
}
type Authenticator interface {
Sign(protocol.Invocation, *common.URL) error
Authenticate(protocol.Invocation, *common.URL) error
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment