MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / newOAuthTabModel

Function newOAuthTabModel

internal/tui/oauth_tab.go:77–86  ·  view source on GitHub ↗
(client *Client)

Source from the content-addressed store, hash-verified

75}
76
77func newOAuthTabModel(client *Client) oauthTabModel {
78 ti := textinput.New()
79 ti.Placeholder = "http://localhost:.../auth/callback?code=...&state=..."
80 ti.CharLimit = 2048
81 ti.Prompt = " 回调 URL: "
82 return oauthTabModel{
83 client: client,
84 callbackInput: ti,
85 }
86}
87
88func (m oauthTabModel) Init() tea.Cmd {
89 return nil

Callers 1

NewAppFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected