bright-policeman-41717
01/10/2023, 3:55 PMfunc NewHandler() *Handler {
	conf := ory.NewConfiguration()
	conf.Servers = ory.ServerConfigurations{{
		URL: "<https://xxxx.projects.oryapis.com>",
	}}
	logger := log.New(os.Stderr, "app: ", log.LstdFlags|log.Lshortfile|log.Llongfile)
	oryAuthedContext := context.WithValue(context.Background(), ory.ContextAccessToken, "ory_pat_")
	return &Handler{
		ApiClient: ory.NewAPIClient(conf),
		ctx:       oryAuthedContext,
		logger:    logger,
	}bright-policeman-41717
01/10/2023, 3:56 PMbright-policeman-41717
01/10/2023, 3:56 PMbright-policeman-41717
01/10/2023, 3:56 PMbright-policeman-41717
01/10/2023, 3:57 PMory "<http://github.com/ory/client-go|github.com/ory/client-go>"bright-policeman-41717
01/10/2023, 3:57 PMbright-policeman-41717
01/10/2023, 3:58 PMbright-policeman-41717
01/10/2023, 4:04 PM.bright-policeman-41717
01/10/2023, 6:12 PM