summaryrefslogtreecommitdiff
path: root/exports
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2023-09-21 10:52:59 +0200
committerJeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com>2023-09-25 09:43:37 +0200
commitd8b311edefbeebcb0cc2791d39fee84f6efdd6c1 (patch)
treeb9488ca3596f195529d9571220433fbe82fb05ed /exports
parent59f4f01464405cd5e2e4117d5ef0d6a08f8d1739 (diff)
Exports: Update spacing in docs
Diffstat (limited to 'exports')
-rw-r--r--exports/exports.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/exports/exports.go b/exports/exports.go
index 5d5eb32..a68dea9 100644
--- a/exports/exports.go
+++ b/exports/exports.go
@@ -247,7 +247,9 @@ func Deregister() *C.char {
// If the server cannot be added it returns the error as types/error/error.go Error
//
// Note that the server is removed when an error has occured
+//
// The following state callbacks are mandatory to handle:
+//
// - OAUTH_STARTED: This indicates that the OAuth procedure has been started, it returns the URL as the data.
// The client should open the webbrowser with this URL and continue the authorization process.
//
@@ -279,6 +281,7 @@ func AddServer(c C.uintptr_t, _type C.int, id *C.char, ni C.int) *C.char {
// - In case of institute access: The base URL
//
// If the server cannot be removed it returns the error types/error/error.go Error
+//
// Note that the server is not removed when an error has occured
//
//export RemoveServer