MCPcopy
hub / github.com/cloudreve/cloudreve / SetSecret

Method SetSecret

ent/mutation.go:8483–8485  ·  view source on GitHub ↗

SetSecret sets the "secret" field.

(s string)

Source from the content-addressed store, hash-verified

8481
8482// SetSecret sets the "secret" field.
8483func (m *OAuthClientMutation) SetSecret(s string) {
8484 m.secret = &s
8485}
8486
8487// Secret returns the value of the "secret" field in the mutation.
8488func (m *OAuthClientMutation) Secret() (r string, exists bool) {

Callers 5

SetFieldMethod · 0.95
CreateMethod · 0.45
UpdateMethod · 0.45
migrateOAuthClientiOSFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected