# CoSecPrincipal

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths: {}
components:
  schemas:
    CoSecPrincipal:
      required:
        - attributes
        - id
        - name
        - policies
        - roles
      type: object
      properties:
        name:
          type: string
        id:
          type: string
        attributes:
          type: object
          additionalProperties:
            type: string
          x-apifox-orders: []
        policies:
          uniqueItems: true
          type: array
          items:
            type: string
        roles:
          uniqueItems: true
          type: array
          items:
            type: string
      x-apifox-orders:
        - name
        - id
        - attributes
        - policies
        - roles
      x-apifox-folder: ''
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
servers:
  - url: http://dev-cn.your-api-server.com
    description: 开发环境
security:
  - bearer: []

```
