(session: ResolvedAuthSession)
| 122 | } |
| 123 | |
| 124 | function isOauthBackedFirstPartySession(session: ResolvedAuthSession): boolean { |
| 125 | return ( |
| 126 | session.principalSource === 'managed_oauth' || |
| 127 | session.principalSource === 'service_oauth_env' || |
| 128 | session.principalSource === 'service_oauth_fd' |
| 129 | ) |
| 130 | } |
| 131 | |
| 132 | function getCurrentRetrySession(): ResolvedAuthSession { |
| 133 | return getAuthRuntime().getCurrentSession() |
no outgoing calls
no test coverage detected