kopia lustrzana https://github.com/reiver/greatape
11 wiersze
250 B
Go
11 wiersze
250 B
Go
|
package spi
|
||
|
|
||
|
import . "github.com/reiver/greatape/components/contracts"
|
||
|
|
||
|
func AuthorizeInteraction(x IDispatcher, uri string) (IAuthorizeInteractionResult, error) {
|
||
|
return x.NewAuthorizeInteractionResult(
|
||
|
uri, // uri
|
||
|
true, // success
|
||
|
), nil
|
||
|
}
|