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.*StsTokenCredential.GetBearerToken   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 StsTokenCredential struct {
0 ignored issues
show
introduced by
exported type StsTokenCredential should have comment or be unexported
Loading history...
4
	AccessKeyID     string
5
	AccessKeySecret string
6
	SecurityToken   string
7
}
8
9
func newStsTokenCredential(accessKeyID, accessKeySecret, securityToken string) *StsTokenCredential {
10
	return &StsTokenCredential{
11
		AccessKeyID:     accessKeyID,
12
		AccessKeySecret: accessKeySecret,
13
		SecurityToken:   securityToken,
14
	}
15
}
16
17
func (s *StsTokenCredential) GetAccessKeyID() (string, error) {
0 ignored issues
show
introduced by
exported method StsTokenCredential.GetAccessKeyID should have comment or be unexported
Loading history...
18
	return s.AccessKeyID, nil
19
}
20
21
func (s *StsTokenCredential) GetAccessSecret() (string, error) {
0 ignored issues
show
introduced by
exported method StsTokenCredential.GetAccessSecret should have comment or be unexported
Loading history...
22
	return s.AccessKeySecret, nil
23
}
24
25
func (s *StsTokenCredential) GetSecurityToken() (string, error) {
0 ignored issues
show
introduced by
exported method StsTokenCredential.GetSecurityToken should have comment or be unexported
Loading history...
26
	return s.SecurityToken, nil
27
}
28
29
func (s *StsTokenCredential) GetBearerToken() string {
0 ignored issues
show
introduced by
exported method StsTokenCredential.GetBearerToken should have comment or be unexported
Loading history...
30
	return ""
31
}
32
33
func (s *StsTokenCredential) GetType() string {
0 ignored issues
show
introduced by
exported method StsTokenCredential.GetType should have comment or be unexported
Loading history...
34
	return "sts"
35
}
36