| 47 | var ServiceLogger = slogutil.NewLogger("webapp-service") |
| 48 | |
| 49 | type Service2 struct { |
| 50 | Request *http.Request |
| 51 | Sessions SessionStore |
| 52 | SessionCookie SessionCookieDef |
| 53 | SignedUpCookie SignedUpCookieDef |
| 54 | MFADeviceTokenCookie mfa.CookieDef |
| 55 | ErrorService *ErrorService |
| 56 | Cookies CookieManager |
| 57 | OAuthConfig *config.OAuthConfig |
| 58 | UIConfig *config.UIConfig |
| 59 | TrustProxy config.TrustProxy |
| 60 | UIInfoResolver UIInfoResolver |
| 61 | OAuthClientResolver OAuthClientResolver |
| 62 | |
| 63 | Graph GraphService |
| 64 | } |
| 65 | |
| 66 | func (s *Service2) CreateSession(ctx context.Context, session *Session, redirectURI string) (*Result, error) { |
| 67 | if err := s.Sessions.Create(ctx, session); err != nil { |
nothing calls this directly
no outgoing calls
no test coverage detected