Closed kyfujisa closed 1 year ago
Also,
RoleProvider => RoleTokenProvider
https://github.com/yahoojapan/athenz-client-sidecar/blob/3ceaeb900f4862d62807cd8bdb15172242236e5e/service/role.go#L82
StartRoleUpdater => StartUpdater
, RefreshRoleTokenCache => RefreshCache
, GetRoleProvider => GetProvider
https://github.com/yahoojapan/athenz-client-sidecar/blob/3ceaeb900f4862d62807cd8bdb15172242236e5e/service/role.go#L44-L48
Change to the following naming convention. Do the same for access token code. -> RoleTokenService https://github.com/yahoojapan/athenz-client-sidecar/blob/3ceaeb900f4862d62807cd8bdb15172242236e5e/service/role.go#L44
-> roleTokenService https://github.com/yahoojapan/athenz-client-sidecar/blob/3ceaeb900f4862d62807cd8bdb15172242236e5e/service/role.go#L51
-> RoleTokenResponse( Imitate this: https://github.com/yahoojapan/athenz-client-sidecar/blob/master/service/role.go#L76 ) https://github.com/yahoojapan/athenz-client-sidecar/blob/3ceaeb900f4862d62807cd8bdb15172242236e5e/service/role.go#L76