Documentation ¶
Index ¶
- Variables
- type Account
- func (s *Account) Create(ctx context.Context, req *account.CreateRequest, rsp *account.CreateResponse) error
- func (s *Account) Delete(ctx context.Context, req *account.DeleteRequest, rsp *account.DeleteResponse) error
- func (s *Account) Read(ctx context.Context, req *account.ReadRequest, rsp *account.ReadResponse) error
- func (s *Account) Search(ctx context.Context, req *account.SearchRequest, rsp *account.SearchResponse) error
- func (s *Account) Update(ctx context.Context, req *account.UpdateRequest, rsp *account.UpdateResponse) error
- type Oauth2
- func (o *Oauth2) Authorize(ctx context.Context, req *oauth2.AuthorizeRequest, ...) error
- func (o *Oauth2) Revoke(ctx context.Context, req *oauth2.RevokeRequest, rsp *oauth2.RevokeResponse) error
- func (o *Oauth2) Token(ctx context.Context, req *oauth2.TokenRequest, rsp *oauth2.TokenResponse) error
- func (o *Oauth2) Validate(ctx context.Context, req *oauth2.ValidateRequest, rsp *oauth2.ValidateResponse) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DefaultScope = "micro"
)
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct{}
func (*Account) Create ¶
func (s *Account) Create(ctx context.Context, req *account.CreateRequest, rsp *account.CreateResponse) error
func (*Account) Delete ¶
func (s *Account) Delete(ctx context.Context, req *account.DeleteRequest, rsp *account.DeleteResponse) error
func (*Account) Read ¶
func (s *Account) Read(ctx context.Context, req *account.ReadRequest, rsp *account.ReadResponse) error
func (*Account) Search ¶
func (s *Account) Search(ctx context.Context, req *account.SearchRequest, rsp *account.SearchResponse) error
func (*Account) Update ¶
func (s *Account) Update(ctx context.Context, req *account.UpdateRequest, rsp *account.UpdateResponse) error
type Oauth2 ¶
type Oauth2 struct{}
func (*Oauth2) Authorize ¶
func (o *Oauth2) Authorize(ctx context.Context, req *oauth2.AuthorizeRequest, rsp *oauth2.AuthorizeResponse) error
func (*Oauth2) Revoke ¶
func (o *Oauth2) Revoke(ctx context.Context, req *oauth2.RevokeRequest, rsp *oauth2.RevokeResponse) error
func (*Oauth2) Token ¶
func (o *Oauth2) Token(ctx context.Context, req *oauth2.TokenRequest, rsp *oauth2.TokenResponse) error
func (*Oauth2) Validate ¶
func (o *Oauth2) Validate(ctx context.Context, req *oauth2.ValidateRequest, rsp *oauth2.ValidateResponse) error
Click to show internal directories.
Click to hide internal directories.