GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Pull Request — master (#5)
by
unknown
01:19
created

credentials.*BearerTokenCredential.GetType   A

Complexity

Conditions 1

Size

Total Lines 2
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
dl 0
loc 2
rs 10
c 0
b 0
f 0
nop 0
1
package credentials
2
3
type BearerTokenCredential struct {
0 ignored issues
show
introduced by
exported type BearerTokenCredential should have comment or be unexported
Loading history...
4
	BearerToken string
5
}
6
7
// newBearerTokenCredential return a BearerTokenCredential object
8
func newBearerTokenCredential(token string) *BearerTokenCredential {
9
	return &BearerTokenCredential{
10
		BearerToken: token,
11
	}
12
}
13
14
func (b *BearerTokenCredential) GetAccessKeyID() (string, error) {
0 ignored issues
show
introduced by
exported method BearerTokenCredential.GetAccessKeyID should have comment or be unexported
Loading history...
15
	return "", nil
16
}
17
18
func (b *BearerTokenCredential) GetAccessSecret() (string, error) {
0 ignored issues
show
introduced by
exported method BearerTokenCredential.GetAccessSecret should have comment or be unexported
Loading history...
19
	return "", nil
20
}
21
22
func (b *BearerTokenCredential) GetSecurityToken() (string, error) {
0 ignored issues
show
introduced by
exported method BearerTokenCredential.GetSecurityToken should have comment or be unexported
Loading history...
23
	return "", nil
24
}
25
26
func (b *BearerTokenCredential) GetBearerToken() string {
0 ignored issues
show
introduced by
exported method BearerTokenCredential.GetBearerToken should have comment or be unexported
Loading history...
27
	return b.BearerToken
28
}
29
30
func (b *BearerTokenCredential) GetType() string {
0 ignored issues
show
introduced by
exported method BearerTokenCredential.GetType should have comment or be unexported
Loading history...
31
	return "bearer"
32
}
33