feat: authsession service
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
package ports
|
||||
|
||||
// CodeGenerator generates cleartext confirmation codes for new auth
|
||||
// challenges.
|
||||
type CodeGenerator interface {
|
||||
// Generate returns one fresh cleartext confirmation code.
|
||||
Generate() (string, error)
|
||||
}
|
||||
Reference in New Issue
Block a user