// Options returns the options available to configure this Bee.
5877
func (factory *FacebookBeeFactory) Options() []bees.BeeOptionDescriptor {
	conf := &oauth2.Config{
		ClientID:     "__client_id__",
		ClientSecret: "__client_secret__",
		RedirectURL:  api.CanonicalURL().String() + "/" + path.Join("oauth2", factory.ID(), "__client_id__", "__client_secret__"),
		Scopes:       []string{"public_profile", "publish_actions"},
		Endpoint:     oauth2fb.Endpoint,
	}
	u, err := url.Parse(conf.Endpoint.AuthURL)
	if err != nil {
		log.Fatal("Parse:", err)
	}
	parameters := url.Values{}
	parameters.Add("client_id", conf.ClientID)
	parameters.Add("scope", strings.Join(conf.Scopes, " "))
	parameters.Add("redirect_uri", conf.RedirectURL)
	parameters.Add("response_type", "code")
	parameters.Add("state", "beehive")
	u.RawQuery = parameters.Encode()

	opts := []bees.BeeOptionDescriptor{
		{
			Name:        "client_id",
			Description: "App ID for the Facebook API",
			Type:        "string",
		},
		{
			Name:        "client_secret",
			Description: "App Secret for the Facebook API",
			Type:        "string",
		},
		{
			Name:        "access_token",
			Description: "Access token for the Facebook API",
			Type:        "oauth2:" + u.String(),
		},
	}
	return opts
}
607080
func (a *StartArgs) SetOptions(options string) *StartArgs {
	a.Options = &options
	return a
}
729641
func Options(opts ...grpc.ServerOption) server.Option {
	return func(o *server.Options) {
		if o.Context == nil {
			o.Context = context.Background()
		}
		o.Context = context.WithValue(o.Context, grpcOptions{}, opts)
	}
}
114153
func (m *Mux) Options(path string, handler http.Handler) *Route {
	return m.register("OPTIONS", path, handler)
}
146253
func (fl *Flags) Options() (auth.Options, error) {
	opts := fl.defaults
	opts.ServiceAccountJSONPath = fl.serviceAccountJSON
	if fl.RegisterScopesFlag {
		opts.Scopes = strings.Split(fl.scopes, " ")
		sort.Strings(opts.Scopes)
	}
	return opts, nil
}
321137
func (factory *WebBeeFactory) Options() []bees.BeeOptionDescriptor {
	opts := []bees.BeeOptionDescriptor{
		{
			Name:        "address",
			Description: "Which addr to listen on, eg: 0.0.0.0:12345",
			Type:        "address",
			Mandatory:   true,
		},
	}
	return opts
}
1257151
func (g *Group) Options(path string, h HandlerFunc, opts ...HandlerOption) {
	g.add(path, h, opts, http.MethodOptions)
}
414048
func (r *Request) Options(output interface{}) (*Response, error) {
	return r.createResponse(r.Request.Options(), output)
}
328485
func (factory *TwitterBeeFactory) Options() []bees.BeeOptionDescriptor {
	opts := []bees.BeeOptionDescriptor{
		{
			Name:        "consumer_key",
			Description: "Consumer key for Twitter API",
			Type:        "string",
		},
		{
			Name:        "consumer_secret",
			Description: "Consumer secret for Twitter API",
			Type:        "string",
		},
		{
			Name:        "access_token",
			Description: "Access token for Twitter API",
			Type:        "string",
		},
		{
			Name:        "access_token_secret",
			Description: "API secret for Twitter API",
			Type:        "string",
		},
	}
	return opts
}
543051
func (s *CreateTaskInput) SetOptions(v *Options) *CreateTaskInput {
	s.Options = v
	return s
}
799116
func (s *AvailabilityOptionsStatus) SetOptions(v bool) *AvailabilityOptionsStatus {
	s.Options = &v
	return s
}
1306697
func (a *API) Options(path string, f func(http.ResponseWriter, *http.Request)) {
	a.router.Options(path, http.HandlerFunc(f))
}
1243788
func (r *Router) Options(path string, fn interface{}) *Router {
	return r.addRoute(httpMethodOptions, path, fn)
}
50149
func (g *routeGroup) Options(path string, h http.HandlerFunc) {
	g.handle(http.MethodOptions, path, h)
}
1297590
func (factory *CricketBeeFactory) Options() []bees.BeeOptionDescriptor {
	opts := []bees.BeeOptionDescriptor{
		{
			Name:        "favourite_team",
			Default:     "Ind",
			Description: "Please mention for which team you want to get updates",
			Type:        "string",
			Mandatory:   true,
		},
	}
	return opts
}
858767
func (mh *MethodHandler) Options(options *sparta.LambdaFunctionOptions) *MethodHandler {
	mh.options = options
	return mh
}
808166
func (r *Router) Options(path string, handler HandlerFunc) {
	r.Add(OPTIONS, path, handler)
}