internal/stubs/token.go   A
last analyzed

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 3
dl 0
loc 5
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A stubs.TokenResponse 0 2 1
1
package stubs
2
3
// TokenResponse is the response when getting the access token
4
func TokenResponse() []byte {
5
	return []byte(`
6
{
7
   "access_token":"19077204-9d0a-31fa-85cf-xxxxxxxxxx",
8
   "scope":"am_application_scope default",
9
   "token_type":"Bearer",
10
   "expires_in":2496
11
}
12
`)
13
}
14