Skip to content
This repository has been archived by the owner on Dec 20, 2022. It is now read-only.

refactor role package #60

Closed
kyfujisa opened this issue Apr 6, 2020 · 3 comments
Closed

refactor role package #60

kyfujisa opened this issue Apr 6, 2020 · 3 comments

Comments

@kyfujisa
Copy link
Contributor

kyfujisa commented Apr 6, 2020

The access token feature added in this PR #56 is implemented in the role package.
It should be divided into access packages.

@kyfujisa kyfujisa changed the title refactor role/ refactor role package Apr 6, 2020
@kyfujisa kyfujisa mentioned this issue Apr 6, 2020
3 tasks
@kyfujisa
Copy link
Contributor Author

kyfujisa commented Apr 6, 2020

I think it would be good to match this to atpParams.

enableMTLSCertificateBoundAccessToken bool
// If you go back to the issue time, set that time. Subtract if necessary (for example, token issuance time).
clientCertificateGoBackSeconds int64
// The number of seconds to allow for a failed CNF check due to a client certificate being updated.
clientCertificateOffsetSeconds int64

type ATProcessorParam struct {
verifyCertThumbprint bool
certBackdateDur string
certOffsetDur string

@WindzCUHK
Copy link
Contributor

TODO: add test cases for *Verifier := wrapper functions in func (a *authorizer) initVerifiers() error

@WindzCUHK
Copy link
Contributor

continue in: AthenZ/athenz-authorizer#5

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants