Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/PyGithub/PyGithub
/ token
Method
token
github/Auth.py:121–122 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
119
120
@property
121
def
token(self) -> str:
122
return
base64.b64encode(f
"{self.username}:{self.password}"
.encode()).decode(
"utf-8"
).replace(
"\n"
,
""
)
123
124
@property
125
def
_masked_token(self) -> str:
Callers
nothing calls this directly
Calls
1
encode
Method · 0.80
Tested by
no test coverage detected