Skip to content

Commit 602b1e1

Browse files
committed
remove should_use_device_auth
1 parent 66cd84a commit 602b1e1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/PkgAuthentication.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -179,10 +179,6 @@ function get_device_auth_client_id()
179179
return get(ENV, "JULIA_PKG_AUTHENTICATION_DEVICE_CLIENT_ID", "")
180180
end
181181

182-
function should_use_device_auth()
183-
return !isempty(get_device_auth_client_id())
184-
end
185-
186182
# Query the /auth/configuration endpoint to get the refresh url and
187183
# device authentication endpoints. Returns a Dict with the following
188184
# fields:

0 commit comments

Comments
 (0)