mirror of
https://gitlab.com/fabinfra/fabaccess/fabaccess-api.git
synced 2025-03-12 23:01:47 +01:00
Stop doing initial data that way, it's a bad idea D:<
This commit is contained in:
parent
b12fa851c5
commit
a1ca3e2ccd
@ -27,12 +27,11 @@ interface Bootstrap
|
||||
mechanisms @2 () -> ( mechs :List(Text) );
|
||||
# Get a list of Mechanisms this server allows in this context.
|
||||
|
||||
createSession @3 ( mechanism :Text, initialData :Data )
|
||||
-> ( authentication :Authentication );
|
||||
createSession @3 ( mechanism :Text ) -> ( authentication :Authentication );
|
||||
# Create a new session with the server that you wish to authenticate using `mechanism`. If the
|
||||
# mechanism is a client-first mechanism you MAY set `initialData` to contain the data you want
|
||||
# to send. If the mechanism is server-first or you do not wish to send initial data, make
|
||||
# initialData a NULL-pointer.
|
||||
# mechanism is a client-first mechanism you can then immediately call Authentication::step with
|
||||
# initial data in a pipelined fashion. If the mechanism is server-first you must call
|
||||
# Authentication::step with a NULL `data` parameter.
|
||||
}
|
||||
|
||||
struct Session {
|
||||
|
Loading…
x
Reference in New Issue
Block a user