gitea/src/af49b450-78fb-40bd-8165-484.../README.md

60 lines
1.9 KiB
Markdown
Raw Permalink Normal View History

2023-04-15 15:08:07 +00:00
```
██████╗ ██████╗ ██╗ ██╗███████╗██████╗
██╔══██╗██╔═══██╗██║ ██║██╔════╝██╔══██╗
██████╔╝██║ ██║██║ █╗ ██║█████╗ ██████╔╝
██╔═══╝ ██║ ██║██║███╗██║██╔══╝ ██╔══██╗
██║ ╚██████╔╝╚███╔███╔╝███████╗██║ ██║
╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝
```
# class Tokens (Details)
> namespace: **VDM\Joomla\Gitea\User**
2023-10-10 09:39:23 +00:00
> extends: **Api**
2023-04-15 15:08:07 +00:00
```uml
@startuml
class Tokens #Gold {
+ list(string $username, ?int $page = null, ...) : ?array
+ create(string $username, string $name) : ?object
+ delete(string $username, string $token) : string
}
note right of Tokens::list
List the authenticated user's access tokens.
since: 3.2.0
return: ?array
arguments:
string $username
?int $page = null
?int $limit = null
end note
note right of Tokens::create
Create an access token for a user.
since: 3.2.0
return: ?object
end note
note right of Tokens::delete
Delete an access token for a user.
since: 3.2.0
return: string
end note
@enduml
```
---
```
██╗ ██████╗██████╗
██║██╔════╝██╔══██╗
██║██║ ██████╔╝
██ ██║██║ ██╔══██╗
╚█████╔╝╚██████╗██████╔╝
╚════╝ ╚═════╝╚═════╝
```
> Build with [Joomla Component Builder](https://git.vdm.dev/joomla/Component-Builder)