BAHAMAS
This commit is contained in:
@@ -12,28 +12,10 @@ info:
|
||||
url: https://www.gnu.org/licenses/agpl-3.0.html
|
||||
basePath: /oc
|
||||
paths:
|
||||
/auth/claims:
|
||||
post:
|
||||
tags:
|
||||
- auth
|
||||
description: |-
|
||||
enrich token with claims
|
||||
<br>
|
||||
operationId: OAuthController.Claims
|
||||
parameters:
|
||||
- in: body
|
||||
name: body
|
||||
description: The token info
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/models.Token'
|
||||
responses:
|
||||
"200":
|
||||
description: '{string}'
|
||||
/auth/forward:
|
||||
/forward:
|
||||
get:
|
||||
tags:
|
||||
- auth
|
||||
- oc-auth/controllersOAuthController
|
||||
description: |-
|
||||
auth forward
|
||||
<br>
|
||||
@@ -43,19 +25,13 @@ paths:
|
||||
name: Authorization
|
||||
description: auth token
|
||||
type: string
|
||||
- in: body
|
||||
name: body
|
||||
description: The workflow content
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/models.workflow'
|
||||
responses:
|
||||
"200":
|
||||
description: '{string}'
|
||||
/auth/introspect:
|
||||
/introspect:
|
||||
get:
|
||||
tags:
|
||||
- auth
|
||||
- oc-auth/controllersOAuthController
|
||||
description: |-
|
||||
introspect token
|
||||
<br>
|
||||
@@ -68,10 +44,10 @@ paths:
|
||||
responses:
|
||||
"200":
|
||||
description: '{string}'
|
||||
/auth/ldap/login:
|
||||
/ldap/login:
|
||||
post:
|
||||
tags:
|
||||
- auth
|
||||
- oc-auth/controllersOAuthController
|
||||
description: |-
|
||||
authenticate user
|
||||
<br>
|
||||
@@ -86,10 +62,10 @@ paths:
|
||||
responses:
|
||||
"200":
|
||||
description: '{string}'
|
||||
/auth/ldap/logout:
|
||||
/ldap/logout:
|
||||
delete:
|
||||
tags:
|
||||
- auth
|
||||
- oc-auth/controllersOAuthController
|
||||
description: |-
|
||||
unauthenticate user
|
||||
<br>
|
||||
@@ -102,24 +78,6 @@ paths:
|
||||
responses:
|
||||
"200":
|
||||
description: '{string}'
|
||||
/auth/refresh:
|
||||
post:
|
||||
tags:
|
||||
- auth
|
||||
description: |-
|
||||
introspect token
|
||||
<br>
|
||||
operationId: OAuthController.Introspection
|
||||
parameters:
|
||||
- in: body
|
||||
name: body
|
||||
description: The token info
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/models.Token'
|
||||
responses:
|
||||
"200":
|
||||
description: '{string}'
|
||||
/permission/:
|
||||
get:
|
||||
tags:
|
||||
@@ -246,6 +204,24 @@ paths:
|
||||
responses:
|
||||
"200":
|
||||
description: '{auth} string'
|
||||
/refresh:
|
||||
post:
|
||||
tags:
|
||||
- oc-auth/controllersOAuthController
|
||||
description: |-
|
||||
introspect token
|
||||
<br>
|
||||
operationId: OAuthController.Introspection
|
||||
parameters:
|
||||
- in: body
|
||||
name: body
|
||||
description: The token info
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/models.Token'
|
||||
responses:
|
||||
"200":
|
||||
description: '{string}'
|
||||
/role/:
|
||||
get:
|
||||
tags:
|
||||
@@ -407,7 +383,7 @@ definitions:
|
||||
title: workflow
|
||||
type: object
|
||||
tags:
|
||||
- name: auth
|
||||
- name: oc-auth/controllersOAuthController
|
||||
description: |
|
||||
Operations about auth
|
||||
- name: role
|
||||
|
||||
Reference in New Issue
Block a user