summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/src/api/functiondocs.md10
-rw-r--r--exports/exports.go3
2 files changed, 10 insertions, 3 deletions
diff --git a/docs/src/api/functiondocs.md b/docs/src/api/functiondocs.md
index f6575f3..854dd01 100644
--- a/docs/src/api/functiondocs.md
+++ b/docs/src/api/functiondocs.md
@@ -82,8 +82,10 @@ you want to set this to zero (meaning: False)
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:
+# 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.
@@ -406,7 +408,9 @@ in types/server/server.go Type
- 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
+Error
+
+Note that the server is not removed when an error has occured
## RenewSession
Signature:
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