(auth *coreauth.Auth)
| 335 | } |
| 336 | |
| 337 | func modelRegistrationPhase(auth *coreauth.Auth) int { |
| 338 | if coreauth.IsConfigAPIKeyAuth(auth) { |
| 339 | return modelRegistrationPhaseConfigAPIKey |
| 340 | } |
| 341 | return modelRegistrationPhaseOther |
| 342 | } |
| 343 | |
| 344 | func modelRegistrationCategory(auth *coreauth.Auth) string { |
| 345 | if auth == nil { |
no outgoing calls
no test coverage detected