20 lines
326 B
Plaintext
20 lines
326 B
Plaintext
|
@startuml
|
||
|
namespace auth {
|
||
|
interface Authentication {
|
||
|
+ Init(args ...string)
|
||
|
+ Authenticate(payload string) bool
|
||
|
+ Name() string
|
||
|
|
||
|
}
|
||
|
class Credential << (S,Aquamarine) >> {
|
||
|
- name string
|
||
|
- payload string
|
||
|
|
||
|
+ Payload() string
|
||
|
+ Name() string
|
||
|
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
@enduml
|